about summary refs log tree commit diff
path: root/Completion/Core/_unset_options
blob: 718da2c9c3b48dd42ef9884cef4056d7b80b2628 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#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 "$@" -M 'B:[nN][oO]= M:_= M:{A-Z}={a-z}' -a _unset_options