1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-03 13:56:03 +02:00
zsh/Functions/Completion/__unsetopt
1999-04-15 18:05:38 +00:00

8 lines
224 B
Plaintext

#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