From 8ea1a686d9d1b312dba46de088116a5d7291e0c5 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 2 Jun 2009 02:08:07 +0200 Subject: fix completion bug (file-sort time); add ft for vim --- .zsh/rc/70completion/10misc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.zsh/rc/70completion/10misc') diff --git a/.zsh/rc/70completion/10misc b/.zsh/rc/70completion/10misc index e0fdffe..c3e0d7a 100644 --- a/.zsh/rc/70completion/10misc +++ b/.zsh/rc/70completion/10misc @@ -31,7 +31,10 @@ zstyle ':completion:*:functions' ignored-patterns '_*' # show menu when tabbing zstyle ':completion:*' menu yes select -zstyle ':completion:*' file-sort time + +# bugged with zsh 4.3.10 for whatever reason +#zstyle ':completion:*' file-sort time +zstyle ':completion:*' file-sort name # remove / after dirnames # e.g. ls foo/ -> ls foo @@ -47,3 +50,5 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l: # make some stuff look better zstyle ':completion:*:descriptions' format $'%{\e[0;31m%}completing %B%d%b%{\e[0m%}' zstyle ':completion:*:warnings' format $'%{\e[0;31m%}No matches for:%{\e[0m%} %d' + +# vim:set ft=zsh: -- cgit v1.2.3-24-g4f1b