zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Johannes Bittner <johannes.bittner@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: Feature request: tab completion for git tree paths
Date: Sun, 27 Mar 2011 14:20:26 +0200	[thread overview]
Message-ID: <AANLkTimzwM0FEZhZ4tCXL6Ra8QLvy6Dnewg+wLp0UPdH@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikGHNP-eZmnB__QytnQ4HE5EcBKhs_F+KW37By0@mail.gmail.com>

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


  reply	other threads:[~2011-03-27 12:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-27 12:06 Johannes Bittner
2011-03-27 12:20 ` Mikael Magnusson [this message]
2011-03-27 12:25 ` Nikolai Weibull
2011-03-27 12:38   ` Johannes Bittner

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=AANLkTimzwM0FEZhZ4tCXL6Ra8QLvy6Dnewg+wLp0UPdH@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=johannes.bittner@gmail.com \
    --cc=zsh-workers@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).