From: Jer Noble Date: Thu, 17 Jan 2013 19:57:54 +0000 (-0800) Subject: Make tab-completion case-insensitive. X-Git-Url: http://id.pley.net/dotfiles.git/commitdiff_plain/b165edaf9a28756eeca5bdc594b0baa1983d9f32?ds=inline;hp=569e076d6ef56543bf02b6beabb363d02b143525 Make tab-completion case-insensitive. --- diff --git a/zsh_login b/zsh_login index 032a58d..f796c23 100644 --- a/zsh_login +++ b/zsh_login @@ -5,8 +5,11 @@ if [[ "$terminfo[colors]" -ge 8 ]]; then colors fi +# Set up tab completion autoload -U compinit compinit +zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' +zstyle ':completion:*' list-colors 'di=36;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:' # Set up VCS Prompt autoload -Uz vcs_info @@ -36,8 +39,5 @@ export MANPATH=~/man:$MANPATH export EDITOR=/usr/bin/vim export LSCOLORS=gxfxcxdxbxegedabagacad -zstyle ':completion:*' list-colors 'di=36;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:' - source ~/.dotfiles/zsh_aliases source ~/.dotfiles/zsh_webkit_login -