1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00

get return status right (12171)

This commit is contained in:
Sven Wischnowsky 2000-07-05 10:54:51 +00:00
parent 51ca432da6
commit 8ef812d6fb
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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