about summary refs log tree commit diff
path: root/Completion/User/_arp
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-07-05 10:54:51 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-07-05 10:54:51 +0000
commit8ef812d6fb11afdea64771cbb076ebb82b0c0153 (patch)
tree29aba87d700b0210e6820f12b18e118382441770 /Completion/User/_arp
parent51ca432da6a53554fc4529170a6f8fe8ea9876f8 (diff)
downloadzsh-8ef812d6fb11afdea64771cbb076ebb82b0c0153.tar.gz
zsh-8ef812d6fb11afdea64771cbb076ebb82b0c0153.tar.xz
zsh-8ef812d6fb11afdea64771cbb076ebb82b0c0153.zip
get return status right (12171)
Diffstat (limited to 'Completion/User/_arp')
-rwxr-xr-xCompletion/User/_arp3
1 files changed, 1 insertions, 2 deletions
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