From 2a4289dcd13508d1c1619a509533e6fceb6e2b1b Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Fri, 4 Sep 2020 14:01:08 -0500 Subject: [PATCH] [ffmpeg] Fix variable name in __fish_ffmpeg_complete_regex [ci skip] --- share/completions/ffmpeg.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/ffmpeg.fish b/share/completions/ffmpeg.fish index f5b7721d1..f5b93a15d 100644 --- a/share/completions/ffmpeg.fish +++ b/share/completions/ffmpeg.fish @@ -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