summaryrefslogtreecommitdiffstats
path: root/.zsh/rc/70completion/10misc
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-06-02 02:08:07 +0200
committerFlorian Pritz <f-p@gmx.at>2009-06-02 02:08:07 +0200
commit8ea1a686d9d1b312dba46de088116a5d7291e0c5 (patch)
treed1d5aa54824fa321bac686acb7d2ebd2b4f92cb8 /.zsh/rc/70completion/10misc
parent9d4173746199c7ebdbd58a18ec57dee742ba013c (diff)
downloaddotfiles-8ea1a686d9d1b312dba46de088116a5d7291e0c5.tar.gz
dotfiles-8ea1a686d9d1b312dba46de088116a5d7291e0c5.tar.xz
fix completion bug (file-sort time); add ft for vim
Diffstat (limited to '.zsh/rc/70completion/10misc')
-rw-r--r--.zsh/rc/70completion/10misc7
1 files changed, 6 insertions, 1 deletions
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: