summaryrefslogtreecommitdiff
path: root/etc/completion
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-11-18 21:15:21 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-11-18 21:15:21 +0100
commit910756e86426e90b9e48a52c4f619ae3556f3b55 (patch)
tree8154f0a9ee3adeaa2458b794bb528cf79bd6eeb5 /etc/completion
parent67e50a419b7bc0f694e11b95c82a083608299d67 (diff)
Use the hosts array to associate some information with each host
Diffstat (limited to 'etc/completion')
-rw-r--r--etc/completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/completion b/etc/completion
index 8671712..51a9a2b 100644
--- a/etc/completion
+++ b/etc/completion
@@ -34,7 +34,7 @@ zstyle ':completion:*:*:(todo|td*):*:items' menu yes
function _hosts {
typeset expl
_wanted host expl 'host name' \
- compadd $hosts
+ compadd ${(k)hosts}
}
if [[ -r $compdump ]] {