mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Use zstyle instead of variables for configuration.
This commit is contained in:
parent
60f39d8d91
commit
f0499b76c3
13 changed files with 156 additions and 103 deletions
|
|
@ -20,7 +20,7 @@ zstyle ':completion::complete:*' use-cache on
|
|||
zstyle ':completion::complete:*' cache-path "$HOME/.zcache"
|
||||
|
||||
# Case-insensitive (all), partial-word, and then substring completion.
|
||||
if check-bool "$CASE_SENSITIVE"; then
|
||||
if zstyle -t ':omz:completion:*' case-sensitive; then
|
||||
zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||
setopt CASE_GLOB
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue