mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-20 14:04:03 +01:00
8 lines
223 B
Plaintext
8 lines
223 B
Plaintext
|
#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
|