c1444a96129b665bcbf67e9baad9bf7257c7c650
- Author
- Matthew Donoughe <mdonoughe@gmail.com>
- Committer
- Matthew Donoughe <mdonoughe@gmail.com>
- Date
Message
should probably use the value of CASE_INSENSITIVE
Diff
1diff --git a/lib/completion.zsh b/lib/completion.zsh
2index 11f67249f66d62d85e9a96c640306a5a5db7cfd7..68ca3b4c135fbcf15b03e1bf949e43c4b96ee2d1 100644
3--- a/lib/completion.zsh
4+++ b/lib/completion.zsh
5@@ -14,7 +14,7 @@ compinit
6 zmodload -i zsh/complist
7
8 ## case-insensitive (all),partial-word and then substring completion
9-if [ "$CASE_SENSITIVE" ]; then
10+if [ "x$CASE_SENSITIVE" = "xtrue" ]; then
11 zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
12 unset CASE_SENSITIVE
13 else
14@@ -42,4 +42,4 @@ zstyle ':completion:*:*:(ssh|scp):*:*' hosts `sed 's/^\([^ ,]*\).*$/\1/' ~/.ssh/
15 # zstyle ':completion:*:history-words' stop yes
16 # zstyle ':completion:*:history-words' remove-all-dups yes
17 # zstyle ':completion:*:history-words' list false
18-# zstyle ':completion:*:history-words' menu yes
19+# zstyle ':completion:*:history-words' menu yes