Browse code

added case-insensitive auto completion

Jamie van Dyke authored on 06/09/2009 at 12:19:33
Showing 1 changed files
... ...
@@ -11,6 +11,9 @@ compinit
11 11
 
12 12
 zmodload -i zsh/complist
13 13
 
14
+## case-insensitive (all),partial-word and then substring completion
15
+zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
16
+
14 17
 zstyle ':completion:*' list-colors ''
15 18
 zstyle ':completion:*' hosts $( sed 's/[, ].*$//' $HOME/.ssh/known_hosts )
16 19