1
0
Fork 0

fix zstyle case-insensitive completion

Signed-off-by: Cameron Wong <cam@camdar.io>
pull/2080/head
Cameron Wong 8 months ago committed by Indrajit Raychaudhuri
parent d03bc03fdd
commit c667dd3ea6

@ -84,7 +84,7 @@ if zstyle -t ':prezto:module:completion:*' case-sensitive; then
zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
setopt CASE_GLOB setopt CASE_GLOB
else else
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' matcher-list 'm:{[:lower:]}={[:upper:]}' 'm:{[:upper:]}={[:lower:]}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
unsetopt CASE_GLOB unsetopt CASE_GLOB
fi fi

Loading…
Cancel
Save