From: Nick Cross <zsh@goots.org>
To: zsh-users@zsh.org
Subject: Command Completion
Date: Tue, 11 Sep 2012 13:55:24 +0100 [thread overview]
Message-ID: <504F34BC.7010406@goots.org> (raw)
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
next reply other threads:[~2012-09-11 13:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-11 12:55 Nick Cross [this message]
2012-09-11 14:15 ` Bart Schaefer
-- strict thread matches above, loose matches on Subject: below --
2011-08-14 20:59 command completion Vincent Lefevre
2011-08-14 21:09 ` Mikael Magnusson
2011-08-14 21:54 ` Vincent Lefevre
2011-08-14 22:14 ` Bart Schaefer
2011-08-14 23:07 ` Vincent Lefevre
2011-08-14 23:56 ` Bart Schaefer
2011-08-15 0:57 ` Vincent Lefevre
2011-08-15 4:13 ` Bart Schaefer
2011-08-15 9:18 ` Vincent Lefevre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=504F34BC.7010406@goots.org \
--to=zsh@goots.org \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).