mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
completions/mpv: Don't use "command"
(the alternative here is to explicitly check `command -q mpv`, but I'm going for the idea that a thing called "mpv" is going to be an mpv) Fixes #9426
This commit is contained in:
parent
eed46a65ce
commit
9da9f698df
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
set -l options (command mpv --list-options 2>/dev/null)
|
||||
set -l options (mpv --list-options 2>/dev/null)
|
||||
complete -c mpv -l(string replace -fr '^\s*--([\w-]+).*' '$1' -- $options)
|
||||
complete -c mpv -lno-(string replace -fr '^\s*--([\w-]+).*Flag.*' '$1' -- $options)
|
||||
|
||||
|
|
Loading…
Reference in a new issue