about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:11:52 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:11:52 +0000
commit02dfe1ae9120cf736a97ff5d5aaffe84b8b52202 (patch)
tree44dfcf591678a4a58868f628efa29abcde6bdd28
parent25b0e48139101e58dc4b37917736a5dba0ac7b2b (diff)
downloadzsh-02dfe1ae9120cf736a97ff5d5aaffe84b8b52202.tar.gz
zsh-02dfe1ae9120cf736a97ff5d5aaffe84b8b52202.tar.xz
zsh-02dfe1ae9120cf736a97ff5d5aaffe84b8b52202.zip
moved from Completion/Base/_sub_commands
-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