mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
[ffmpeg] Fix variable name in __fish_ffmpeg_complete_regex
[ci skip]
This commit is contained in:
parent
0cec12c6c0
commit
2a4289dcd1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user