diff options
author | sfan5 <sfan5@live.de> | 2023-07-18 10:38:30 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-07-19 13:01:08 +0200 |
commit | da9c94989a509557044791c70c670865a15fc8f7 (patch) | |
tree | 0303e87b4ab1f5dff35f6e9cb491c83fd7e942d6 /etc | |
parent | a0d8962be8beea6393aa27a8526b3ff5447e0749 (diff) | |
download | mpv-da9c94989a509557044791c70c670865a15fc8f7.tar.bz2 mpv-da9c94989a509557044791c70c670865a15fc8f7.tar.xz |
zsh-completion: do not complete removed options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/_mpv.zsh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/_mpv.zsh b/etc/_mpv.zsh index d7803cedf1..df115d19bd 100644 --- a/etc/_mpv.zsh +++ b/etc/_mpv.zsh @@ -77,6 +77,10 @@ function _mpv_generate_arguments { # Save this for later; we might not have parsed the target option yet option_aliases+="$name $match[2]" + elif [[ $desc =~ $'^removed ' ]]; then + + # skip + else # Option takes argument |