1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-31 07:51:55 +00:00

zsh-completion: complete av://lavfi:testsrc and av://lavfi:sine

It is annoying to type these over and over.
This commit is contained in:
Guido Cella 2024-12-17 13:43:00 +01:00 committed by Dudemanguy
parent 7562a798b1
commit 753e206d5c

View File

@ -33,6 +33,10 @@ local -a tag_order
zstyle -a ":completion:*:*:$service:*" tag-order tag_order ||
zstyle ":completion:*:*:$service:*" tag-order '!urls'
local -a urls
zstyle -a ":completion:*:*:$service:*:urls" urls urls ||
zstyle ":completion:*:*:$service:*:urls" urls av://lavfi:testsrc av://lavfi:sine
typeset -ga _mpv_completion_arguments _mpv_completion_protocols
function _mpv_generate_arguments {