about summary refs log tree commit diff
path: root/Completion/Core/_options
blob: 0dd92cf69cd81d1d9b46622da357eec812a201fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#autoload

# This should be used to complete all option names.

local expl

_tags any zsh-options || return 1

_description expl 'zsh option'
compadd "$expl[@]" "$@" -M 'L:|[nN][oO]= M:_= M:{A-Z}={a-z}' - \
    "${(@k)options}"