diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:11:52 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:11:52 +0000 |
commit | 02dfe1ae9120cf736a97ff5d5aaffe84b8b52202 (patch) | |
tree | 44dfcf591678a4a58868f628efa29abcde6bdd28 | |
parent | 25b0e48139101e58dc4b37917736a5dba0ac7b2b (diff) | |
download | zsh-02dfe1ae9120cf736a97ff5d5aaffe84b8b52202.tar.gz zsh-02dfe1ae9120cf736a97ff5d5aaffe84b8b52202.tar.xz zsh-02dfe1ae9120cf736a97ff5d5aaffe84b8b52202.zip |
moved from Completion/Base/_sub_commands
-rw-r--r-- | Completion/Base/Utility/_sub_commands | 9 |
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 |