[ffmpeg] Fix variable name in __fish_ffmpeg_complete_regex

[ci skip]
This commit is contained in:
Mahmoud Al-Qudsi 2020-09-04 14:01:08 -05:00
parent 0cec12c6c0
commit 2a4289dcd1

View File

@ -7,7 +7,7 @@ function __fish_ffmpeg_complete_regex
set -l regex $argv[1]
set -l completions $argv[2..-1]
complete -x -c ffmpeg -n "__fish_ffmpeg_last_arg | string match -rq -- '^'$prefix'(\$|:)'" \
complete -x -c ffmpeg -n "__fish_ffmpeg_last_arg | string match -rq -- '^'\"$regex\"'(\$|:)'" \
-a "$completions"
end