From 626e2aeb1657f112feb6d03c34bb9e9f44764c75 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 23 Mar 2000 04:19:26 +0000 Subject: zsh-workers/10195 --- Completion/User/_whois | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Completion/User/_whois') diff --git a/Completion/User/_whois b/Completion/User/_whois index 0d2675d47..ffdbc13f9 100644 --- a/Completion/User/_whois +++ b/Completion/User/_whois @@ -189,14 +189,14 @@ _whois_fwhois () { } _whois_hosts () { - _tags hosts && + _wanted hosts && compadd "$@" \ -M 'm:{a-zA-Z}={A-Za-z} r:|.=* r:|=*' \ - ${_whois_servers%:?} || _hosts "$@" } _whois_ports () { - _tags ports && compadd "$@" - whois || _ports "$@" + _wanted ports && compadd "$@" - whois || _ports "$@" } (( $+functions[_whois:whois.internic.net] )) || @@ -204,7 +204,7 @@ _whois:whois.internic.net () { if (( CURRENT == 1 )); then local expl - _wanted strings expl string && compadd "$expl[@]" HELP DOMAIN HOST + _wanted strings expl string compadd HELP DOMAIN HOST else _message 'string' fi @@ -215,7 +215,7 @@ _whois:whois.nic.ad.jp () { if (( CURRENT == 1 )); then local expl - _wanted strings expl string && compadd HELP DOM NET HOST PERSON CONN COM + _wanted strings expl string compadd HELP DOM NET HOST PERSON CONN COM else _message 'string' fi -- cgit 1.4.1