Browse code

should probably use the value of CASE_INSENSITIVE

Matthew Donoughe authored on 07/10/2009 at 20:08:54
Showing 1 changed files
... ...
@@ -14,7 +14,7 @@ compinit
14 14
 zmodload -i zsh/complist
15 15
 
16 16
 ## case-insensitive (all),partial-word and then substring completion
17
-if [ "$CASE_SENSITIVE" ]; then
17
+if [ "x$CASE_SENSITIVE" = "xtrue" ]; then
18 18
   zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
19 19
   unset CASE_SENSITIVE
20 20
 else
... ...
@@ -42,4 +42,4 @@ zstyle ':completion:*:*:(ssh|scp):*:*' hosts `sed 's/^\([^ ,]*\).*$/\1/' ~/.ssh/
42 42
 # zstyle ':completion:*:history-words' stop yes
43 43
 # zstyle ':completion:*:history-words' remove-all-dups yes
44 44
 # zstyle ':completion:*:history-words' list false
45
-# zstyle ':completion:*:history-words' menu yes
46 45
\ No newline at end of file
46
+# zstyle ':completion:*:history-words' menu yes