diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-23 04:19:26 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-23 04:19:26 +0000 |
commit | 626e2aeb1657f112feb6d03c34bb9e9f44764c75 (patch) | |
tree | 9e4a306df7b5826a796b99f0b6ffa3423ee9f5f9 /Completion/User/_whois | |
parent | 766fcd5ee2ef632cd982a1ec118dbdfde17c03a8 (diff) | |
download | zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.tar.gz zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.tar.xz zsh-626e2aeb1657f112feb6d03c34bb9e9f44764c75.zip |
zsh-workers/10195
Diffstat (limited to 'Completion/User/_whois')
-rw-r--r-- | Completion/User/_whois | 8 |
1 files changed, 4 insertions, 4 deletions
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 |