diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:37:50 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:37:50 +0000 |
commit | bd4c30c5bbe75981037f8ab3846aa4a84779bda9 (patch) | |
tree | c66add403076b0b40f36e6ba3874a65f65d59b49 /Completion/User | |
parent | b5b7d62d94e72ac3550c37d3013f5d411e87a625 (diff) | |
download | zsh-bd4c30c5bbe75981037f8ab3846aa4a84779bda9.tar.gz zsh-bd4c30c5bbe75981037f8ab3846aa4a84779bda9.tar.xz zsh-bd4c30c5bbe75981037f8ab3846aa4a84779bda9.zip |
moved to Completion/Unix/Type/_hosts
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/_hosts | 13 |
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 |