summaryrefslogtreecommitdiffstats
path: root/.zsh/rc/70completion
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/rc/70completion')
-rw-r--r--.zsh/rc/70completion/10misc7
-rw-r--r--.zsh/rc/70completion/10own_functions2
2 files changed, 8 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:
diff --git a/.zsh/rc/70completion/10own_functions b/.zsh/rc/70completion/10own_functions
index c354849..299241c 100644
--- a/.zsh/rc/70completion/10own_functions
+++ b/.zsh/rc/70completion/10own_functions
@@ -12,3 +12,5 @@ function _ssh-mount () {
compadd $(cat ${HOME}/bin/ssh-mount.sh | egrep "Servers:.*" | sed "s#echo \-e \"\${green}Servers\:\$NC##g; s#\"\;##g; s#,##g")
}
compdef _ssh-mount ssh-mount.sh
+
+# vim:set ft=zsh