zsh: completion on capital letter
This commit is contained in:
parent
14c633d0f1
commit
10463e3c66
@ -8,7 +8,11 @@ if [ "x$CASE_SENSITIVE" = "xtrue" ]; then
|
|||||||
zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||||
unset CASE_SENSITIVE
|
unset CASE_SENSITIVE
|
||||||
else
|
else
|
||||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
#zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||||
|
# small letter match capital but not the opposite
|
||||||
|
# e.g. "a" match android.test and Android.mk but
|
||||||
|
# "A" match Android.mk only
|
||||||
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Color in completion
|
# Color in completion
|
||||||
|
Loading…
Reference in New Issue
Block a user