summary refs log tree commit diff
path: root/Completion/Base/Utility
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base/Utility')
-rw-r--r--Completion/Base/Utility/_sub_commands9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Base/Utility/_sub_commands b/Completion/Base/Utility/_sub_commands
new file mode 100644
index 000000000..429931a16
--- /dev/null
+++ b/Completion/Base/Utility/_sub_commands
@@ -0,0 +1,9 @@
+#autoload
+
+local expl
+
+if [[ CURRENT -eq 2 ]]; then
+  _wanted commands expl command compadd "$@"
+else
+  _message 'no more arguments'
+fi