about summary refs log tree commit diff
path: root/Completion/Builtins/_command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Builtins/_command')
-rw-r--r--Completion/Builtins/_command3
1 files changed, 1 insertions, 2 deletions
diff --git a/Completion/Builtins/_command b/Completion/Builtins/_command
index 1cfa6add9..6631b9b6b 100644
--- a/Completion/Builtins/_command
+++ b/Completion/Builtins/_command
@@ -6,6 +6,5 @@ if [[ CURRENT -ge 3 ]]; then
 else
   local expl
 
-  _wanted commands expl 'external command' &&
-      compadd "$expl[@]" "$@" - "${(k@)commands}"
+  _wanted commands expl 'external command' compadd "$@" - "${(k@)commands}"
 fi