X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/1ea0168eaadac60df993d654d5e76e39aab45430..refs/heads/lazyvim:/zsh/lib/completion.zsh diff --git a/zsh/lib/completion.zsh b/zsh/lib/completion.zsh index 5e85286..98abc2b 100644 --- a/zsh/lib/completion.zsh +++ b/zsh/lib/completion.zsh @@ -8,14 +8,7 @@ WORDCHARS='' zmodload -i zsh/complist -CASE_SENSITIVE='true' -# case-(in)sensitive (all),partial-word and then substring completion -if [ "x$CASE_SENSITIVE" = "xtrue" ]; then - zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' - unset CASE_SENSITIVE -else - zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' -fi +zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' list-colors ''