diff --git a/share/completions/rclone.fish b/share/completions/rclone.fish index 744bb7051..9b9ada6c8 100644 --- a/share/completions/rclone.fish +++ b/share/completions/rclone.fish @@ -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