diff options
author | Florian Pritz <f-p@gmx.at> | 2009-06-02 02:08:07 +0200 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-06-02 02:08:07 +0200 |
commit | 8ea1a686d9d1b312dba46de088116a5d7291e0c5 (patch) | |
tree | d1d5aa54824fa321bac686acb7d2ebd2b4f92cb8 /.zsh/rc/70completion | |
parent | 9d4173746199c7ebdbd58a18ec57dee742ba013c (diff) | |
download | dotfiles-8ea1a686d9d1b312dba46de088116a5d7291e0c5.tar.gz dotfiles-8ea1a686d9d1b312dba46de088116a5d7291e0c5.tar.xz |
fix completion bug (file-sort time); add ft for vim
Diffstat (limited to '.zsh/rc/70completion')
-rw-r--r-- | .zsh/rc/70completion/10misc | 7 | ||||
-rw-r--r-- | .zsh/rc/70completion/10own_functions | 2 |
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 |