From b0bdeede6116056d35681a5b70801e8aabcbfbb1 Mon Sep 17 00:00:00 2001 From: Jamie van Dyke Date: Sun, 6 Sep 2009 13:19:33 +0100 Subject: [PATCH] added case-insensitive auto completion --- completion.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/completion.zsh b/completion.zsh index e0edc763..dff71cfd 100644 --- a/completion.zsh +++ b/completion.zsh @@ -11,6 +11,9 @@ compinit zmodload -i zsh/complist +## case-insensitive (all),partial-word and then substring completion +zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' + zstyle ':completion:*' list-colors '' zstyle ':completion:*' hosts $( sed 's/[, ].*$//' $HOME/.ssh/known_hosts )