diff --git a/.zsh/02_Completion.zsh b/.zsh/02_Completion.zsh index 8b31bea..209a4b8 100644 --- a/.zsh/02_Completion.zsh +++ b/.zsh/02_Completion.zsh @@ -8,7 +8,11 @@ if [ "x$CASE_SENSITIVE" = "xtrue" ]; then zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' unset CASE_SENSITIVE 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 # Color in completion