mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-10 00:31:07 +02:00
9 lines
211 B
Text
9 lines
211 B
Text
#autoload
|
|
|
|
# This should be used to complete all option names.
|
|
|
|
local expl
|
|
|
|
_wanted zsh-options expl 'zsh option' &&
|
|
compadd "$expl[@]" "$@" -M 'L:|[nN][oO]= M:_= M:{A-Z}={a-z}' - \
|
|
"${(@k)options}"
|