Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Command Completion
- X-seq: zsh-users 17258
- From: Nick Cross <zsh@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Command Completion
- Date: Tue, 11 Sep 2012 13:55:24 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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