mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
completions/rclone: Make version check more lenient
This has been observed to be "rclone 1.68.2" instead of "rclone v1.68.2", missing the "v".
This commit is contained in:
parent
378e9b236a
commit
cc8fa0f780
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
set -l rclone_version (rclone version | string match -rg 'rclone v(.*)' | string split .)
|
||||
set -l rclone_version (rclone version | string match -rg 'rclone v?(.*)' | string split .)
|
||||
or return
|
||||
|
||||
# Yes, rclone's parsing here has changed, now they *require* a `-` argument
|
||||
|
|
Loading…
Reference in a new issue