Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Command Completion




Hi,

Would anyone be able to help with fixing a completion script? Or would the IRC channel be better>

The https://github.com/defunkt/hub project provides extra functions to git and supplies the following completion script:

https://github.com/defunkt/hub/blob/master/etc/hub.zsh_completion

Ideally I would like to use the hub binary command to complete standard git commands plus the extra commands it provides (e.g. pull-request). While I can see how to write a basic completion for a command what I'm not sure about is how to include and add to another completion set.

Thanks!

Nick




Messages sorted by: Reverse Date, Date, Thread, Author