1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 11:38:00 +00:00

fix zstyle case-insensitive completion

Signed-off-by: Cameron Wong <cam@camdar.io>
This commit is contained in:
Cameron Wong 2024-03-12 19:38:59 -04:00 committed by Indrajit Raychaudhuri
parent d03bc03fdd
commit c667dd3ea6

View File

@ -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