1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00
zsh/Completion/Core/_unset_options
1999-11-15 12:01:46 +00:00

11 lines
331 B
Text

#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
# `_set_options'.
local expl
_wanted zsh-options expl 'unset zsh option' &&
compadd "$expl[@]" "$@" -M 'L:|[nN][oO]= M:_= M:{A-Z}={a-z}' - \
$=_unset_options