about summary refs log tree commit diff
path: root/Functions/Completion/_command
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Completion/_command')
-rw-r--r--Functions/Completion/_command7
1 files changed, 7 insertions, 0 deletions
diff --git a/Functions/Completion/_command b/Functions/Completion/_command
new file mode 100644
index 000000000..b2812de25
--- /dev/null
+++ b/Functions/Completion/_command
@@ -0,0 +1,7 @@
+#defcomp command
+
+if [[ -position 2 -1 ]]; then
+  _normal "$@"
+else
+  complist -em
+fi