about summary refs log tree commit diff
path: root/Completion/Builtins/_unsetopt
blob: 90d642b51c85c4b2f3301a3fda4f28349782f328 (plain) (blame)
1
2
3
4
5
6
7
#defcomp unsetopt

local nm=$NMATCHES

complist -M 'L:|[nN][oO]= M:_= M:{A-Z}={a-z}' \
         -s '$({ unsetopt kshoptionprint; setopt } 2>/dev/null)'
[[ -nmatches nm ]] && complist -M 'L:|[nN][oO]= M:_= M:{A-Z}={a-z}' -o