mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08: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,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…
x
Reference in New Issue
Block a user