diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | Completion/User/_arp | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index c55dddb38..996138643 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-07-05 Sven Wischnowsky <wischnow@zsh.org> + + * 12171: Completion/User/_arp: get return status right + 2000-07-05 Bart Schaefer <schaefer@zsh.org> * 12167: Test/Makefile.in: Ignore failure exit from "for" loop 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 |