* Feature request: tab completion for git tree paths
@ 2011-03-27 12:06 Johannes Bittner
2011-03-27 12:20 ` Mikael Magnusson
2011-03-27 12:25 ` Nikolai Weibull
0 siblings, 2 replies; 4+ messages in thread
From: Johannes Bittner @ 2011-03-27 12:06 UTC (permalink / raw)
To: zsh-workers
Hello,
I very handy feature of the git completion in bash[1] is that it can
complete tree paths, e.g. it can complete an expression like
"HEAD:path/to/file". Would it be possible to integrate this in the git
completion support for zsh? Or has it already been integrated, but my
version of zsh (4.3.10) lacks support for it?
On a related note, using bashcompinit as described in [1] doesn't seem
to enable completion of tree paths, any ideas why this doesn't work?
Bye,
Johannes
[1]http://git.kernel.org/?p=git/git.git;a=blob_plain;f=contrib/completion/git-completion.bash;hb=HEAD
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Feature request: tab completion for git tree paths
2011-03-27 12:06 Feature request: tab completion for git tree paths Johannes Bittner
@ 2011-03-27 12:20 ` Mikael Magnusson
2011-03-27 12:25 ` Nikolai Weibull
1 sibling, 0 replies; 4+ messages in thread
From: Mikael Magnusson @ 2011-03-27 12:20 UTC (permalink / raw)
To: Johannes Bittner; +Cc: zsh-workers
On 27 March 2011 14:06, Johannes Bittner <johannes.bittner@gmail.com> wrote:
> Hello,
>
> I very handy feature of the git completion in bash[1] is that it can
> complete tree paths, e.g. it can complete an expression like
> "HEAD:path/to/file". Would it be possible to integrate this in the git
> completion support for zsh? Or has it already been integrated, but my
> version of zsh (4.3.10) lacks support for it?
>
> On a related note, using bashcompinit as described in [1] doesn't seem
> to enable completion of tree paths, any ideas why this doesn't work?
>
> Bye,
> Johannes
>
> [1]http://git.kernel.org/?p=git/git.git;a=blob_plain;f=contrib/completion/git-completion.bash;hb=HEAD
>
I have this old patch lying around, it's for the old _git though.
Don't bother asking me any questions about it, as you can see from the
header it's 3 years old :).
http://cgit.mika.l3ib.org/cgit/zsh-cvs/commit/?h=mika&id=0cef4f4dceb02cfb12e9a768110db778deffbb8c
--
Mikael Magnusson
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Feature request: tab completion for git tree paths
2011-03-27 12:06 Feature request: tab completion for git tree paths Johannes Bittner
2011-03-27 12:20 ` Mikael Magnusson
@ 2011-03-27 12:25 ` Nikolai Weibull
2011-03-27 12:38 ` Johannes Bittner
1 sibling, 1 reply; 4+ messages in thread
From: Nikolai Weibull @ 2011-03-27 12:25 UTC (permalink / raw)
To: Johannes Bittner; +Cc: zsh-workers
On Sun, Mar 27, 2011 at 14:06, Johannes Bittner
<johannes.bittner@gmail.com> wrote:
> I very handy feature of the git completion in bash[1] is that it can
> complete tree paths, e.g. it can complete an expression like
> "HEAD:path/to/file". Would it be possible to integrate this in the git
> completion support for zsh? Or has it already been integrated, but my
> version of zsh (4.3.10) lacks support for it?
This has been added in the version that is in CVS.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Feature request: tab completion for git tree paths
2011-03-27 12:25 ` Nikolai Weibull
@ 2011-03-27 12:38 ` Johannes Bittner
0 siblings, 0 replies; 4+ messages in thread
From: Johannes Bittner @ 2011-03-27 12:38 UTC (permalink / raw)
To: Nikolai Weibull; +Cc: zsh-workers
On Sun, Mar 27, 2011 at 14:25, Nikolai Weibull <now@bitwi.se> wrote:
> This has been added in the version that is in CVS.
Works great, thanks :-)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-27 12:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-27 12:06 Feature request: tab completion for git tree paths Johannes Bittner
2011-03-27 12:20 ` Mikael Magnusson
2011-03-27 12:25 ` Nikolai Weibull
2011-03-27 12:38 ` Johannes Bittner
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).