From 8ef812d6fb11afdea64771cbb076ebb82b0c0153 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 5 Jul 2000 10:54:51 +0000 Subject: get return status right (12171) --- Completion/User/_arp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Completion/User') diff --git a/Completion/User/_arp b/Completion/User/_arp index b550bba63..9de19f67a 100755 --- a/Completion/User/_arp +++ b/Completion/User/_arp @@ -9,7 +9,6 @@ _arguments -C \ '(-a -d -s 1)-f[read multiple entries from file]:file:_files' \ '(-a)1:host:->hostintable' && return 0 -if [[ "$state" = hostintable ]]; then +[[ "$state" = hostintable ]] && _wanted hosts expl 'host' compadd ${${${(f)"$(${words[1]} -a)"}##[ ?(]#}%%[ )]*} -fi -- cgit 1.4.1