diff --git a/Completion/Zsh/Type/_options_unset b/Completion/Zsh/Type/_options_unset new file mode 100644 index 000000000..3af92f61c --- /dev/null +++ b/Completion/Zsh/Type/_options_unset @@ -0,0 +1,10 @@ +#autoload + +# Complete all unset options. This relies on `_main_complete' to store the +# names of the options that were set when it was called in the array +# `_options_set'. + +local expl + +_wanted zsh-options expl 'unset zsh option' \ + compadd "$@" -M 'B:[nN][oO]= M:_= M:{A-Z}={a-z}' -a _options_unset