mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-25 23:21:15 -03: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user