From: Simon Ruderich Date: Sat, 6 Sep 2008 01:09:57 +0000 (+0200) Subject: Updated case ignoring matcher to first use the entered case. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=3cffbd1f3c0c713ccd0bae88a87f3faea7344a62;p=config%2Fdotfiles.git Updated case ignoring matcher to first use the entered case. Only if the current case is not matching, other cases are tried. --- diff --git a/zsh/rc b/zsh/rc index b7c4f00..92cffe2 100644 --- a/zsh/rc +++ b/zsh/rc @@ -48,8 +48,8 @@ setopt nolistambiguous # Use a cache to speed up completions. zstyle ':completion:*' use-cache on zstyle ':completion:*' cache-path ~/.zsh/cache -# Also match uppercase names when typed only lowercase. -zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' +# Ignore the case if the currently typed string doesn't match. +zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' # Enable zsh's extended glob abilities. setopt extendedglob