mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 06:58:01 +00:00
fix zstyle case-insensitive completion
Signed-off-by: Cameron Wong <cam@camdar.io>
This commit is contained in:
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…
Reference in New Issue
Block a user