Skip to content

Commit

Permalink
zsh-completion: complete av://lavfi:testsrc and av://lavfi:sine
Browse files Browse the repository at this point in the history
It is annoying to type these over and over.
  • Loading branch information
guidocella authored and Dudemanguy committed Dec 28, 2024
1 parent 7562a79 commit 753e206
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etc/_mpv.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 753e206

Please sign in to comment.