diff options
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 |