diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-11-19 16:48:28 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-11-19 16:48:28 +0100 |
commit | d60f9f2fd3f9b98b7f5b6996c2358a1e40c60939 (patch) | |
tree | db24d95f8dc875dd7942b62ddb7231fc537e0ba5 /etc/completion | |
parent | 8f46cc3e6dcb46afa2408172b684e3c1d3aaf0a6 (diff) |
completion: Avoid redefining _hosts
Diffstat (limited to 'etc/completion')
-rw-r--r-- | etc/completion | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/completion b/etc/completion index 51a9a2b..d46ca49 100644 --- a/etc/completion +++ b/etc/completion @@ -31,11 +31,7 @@ unset char zstyle ':completion:*:*:kill:*' menu yes zstyle ':completion:*:*:(todo|td*):*:items' menu yes -function _hosts { - typeset expl - _wanted host expl 'host name' \ - compadd ${(k)hosts} -} +zstyle -e ':completion:*' hosts 'reply=(${(k)hosts})' if [[ -r $compdump ]] { compinit -C -d $compdump |