1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00
zsh/Completion/Core/_set_options
1999-11-15 12:01:46 +00:00

11 lines
325 B
Text

#autoload
# Complete all set 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 'set zsh option' &&
compadd "$expl[@]" "$@" -M 'L:|[nN][oO]= M:_= M:{A-Z}={a-z}' - \
$=_set_options