about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:37:50 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:37:50 +0000
commitbd4c30c5bbe75981037f8ab3846aa4a84779bda9 (patch)
treec66add403076b0b40f36e6ba3874a65f65d59b49 /Completion
parentb5b7d62d94e72ac3550c37d3013f5d411e87a625 (diff)
downloadzsh-bd4c30c5bbe75981037f8ab3846aa4a84779bda9.tar.gz
zsh-bd4c30c5bbe75981037f8ab3846aa4a84779bda9.tar.xz
zsh-bd4c30c5bbe75981037f8ab3846aa4a84779bda9.zip
moved to Completion/Unix/Type/_hosts
Diffstat (limited to 'Completion')
-rw-r--r--Completion/User/_hosts13
1 files changed, 0 insertions, 13 deletions
diff --git a/Completion/User/_hosts b/Completion/User/_hosts
deleted file mode 100644
index fc2970cb9..000000000
--- a/Completion/User/_hosts
+++ /dev/null
@@ -1,13 +0,0 @@
-#compdef ftp ping rwho rup xping traceroute host
-
-local expl hosts
-
-if ! zstyle -a ":completion:${curcontext}:hosts" hosts hosts; then
-  (( $+_cache_hosts )) ||
-      : ${(A)_cache_hosts:=${(s: :)${(ps:\t:)${${(f)~~"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}}
-
-  hosts=( "$_cache_hosts[@]" )
-fi
-
-_wanted hosts expl host \
-    compadd -M 'm:{a-zA-Z}={A-Za-z} r:|.=* r:|=*' "$@" -a hosts