summaryrefslogtreecommitdiffstats
path: root/Completion/User/_hosts
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-22 12:35:20 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-22 12:35:20 +0000
commitd139ae56432a82a3dbe11f4be89ba7d886f2c177 (patch)
treef2cd4d874fe13fe923490dd69bd92a0fb3314381 /Completion/User/_hosts
parentzsh-workers/7963 (diff)
downloadzsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.gz
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.bz2
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.lz
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.xz
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.zst
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.zip
zsh-3.1.6-pws-5zsh-3.1.6-pws-5
Diffstat (limited to 'Completion/User/_hosts')
-rw-r--r--Completion/User/_hosts3
1 files changed, 0 insertions, 3 deletions
diff --git a/Completion/User/_hosts b/Completion/User/_hosts
index bbc1e88b2..9f5a39cca 100644
--- a/Completion/User/_hosts
+++ b/Completion/User/_hosts
@@ -4,8 +4,5 @@ local expl
: ${(A)hosts:=${(s: :)${(ps:\t:)${${(f)"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}}
-# Let the user add her own hosts in if she wants
-hosts=( $hostnames $hosts )
-
_description expl host
compadd -M 'm:{a-zA-Z}={A-Za-z} r:|.=* r:|=*' "$@" "$expl[@]" - "$hosts[@]"