about summary refs log tree commit diff
path: root/Completion/Core/_options
blob: 8664e239e0ed3856b0dfab14fb165db5a76414c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
#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}"