about summary refs log tree commit diff
path: root/Functions/Completion/__unsetopt
blob: c9a074d9bc2cc2f7e29960ee669499d07b1ec6de (plain) (blame)
1
2
3
4
5
6
7
#function 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