about summary refs log tree commit diff
path: root/Completion/Core/_set_options
blob: 55388d0c82cd304123a98c94e4bfd1d8b1525dde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#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

_tags any zsh-options || return 1

_description expl 'set zsh option'
compadd "$expl[@]" "$@" -M 'L:|[nN][oO]= M:_= M:{A-Z}={a-z}' - $=_set_options