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/_command7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completion/Builtins/_command b/Completion/Builtins/_command
new file mode 100644
index 000000000..b2812de25
--- /dev/null
+++ b/Completion/Builtins/_command
@@ -0,0 +1,7 @@
+#defcomp command
+
+if [[ -position 2 -1 ]]; then
+  _normal "$@"
+else
+  complist -em
+fi