summary refs log tree commit diff
diff options
context:
space:
mode:
-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