Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
c1444a96
Commit
c1444a96
authored
Oct 07, 2009
by
Matthew Donoughe
Browse files
should probably use the value of CASE_INSENSITIVE
parent
cea6040c
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/completion.zsh
View file @
c1444a96
...
...
@@ -14,7 +14,7 @@ compinit
zmodload
-i
zsh/complist
## case-insensitive (all),partial-word and then substring completion
if
[
"
$CASE_SENSITIVE
"
]
;
then
if
[
"
x
$CASE_SENSITIVE
"
=
"xtrue"
]
;
then
zstyle
':completion:*'
matcher-list
'r:|[._-]=* r:|=*'
'l:|=* r:|=*'
unset
CASE_SENSITIVE
else
...
...
@@ -42,4 +42,4 @@ zstyle ':completion:*:*:(ssh|scp):*:*' hosts `sed 's/^\([^ ,]*\).*$/\1/' ~/.ssh/
# zstyle ':completion:*:history-words' stop yes
# zstyle ':completion:*:history-words' remove-all-dups yes
# zstyle ':completion:*:history-words' list false
# zstyle ':completion:*:history-words' menu yes
\ No newline at end of file
# zstyle ':completion:*:history-words' menu yes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment