summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-08-18 18:49:58 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-08-18 18:49:58 +0200
commit1e8f708c8ce7fda305cb493e0e9ada0f8bbbe501 (patch)
tree197d3ee658c3cc8d896f880ec09166cf76e8bc9e
parent9b027882120ccb6ae1fd59f45788f9bfbf6a9eef (diff)
etc/completion: Enable verbose completion
source <http://git.cloudconnected.org/?p=~mxey/homie/zsh.git;a=blob;f=zshrc.d/35_completion;h=da6e303539efec8600e643112bb031bb9db59416;hb=HEAD>
-rw-r--r--etc/completion6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/completion b/etc/completion
index 1b9e53d..2d5a802 100644
--- a/etc/completion
+++ b/etc/completion
@@ -10,6 +10,12 @@ zstyle ':completion:*' menu select=1
# Complete uppercase names with lowercase and spaces with _
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z} m:_=\\\ ' ''
+# Be verbose
+zstyle ':completion:*' verbose true
+zstyle ':completion:*:descriptions' format " › %d"
+zstyle ':completion:*:messages' format " › %d"
+zstyle ':completion:*:corrections' format " › %d"
+
_hosts() { compadd derf.homelinux.org kraftwerk saviour kappa nemesis aneurysm;}
compinit -C -d var/cache/zsh/compdump