summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User')
-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