Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature request: tab completion for git tree paths
- X-seq: zsh-workers 28943
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Johannes Bittner <johannes.bittner@xxxxxxxxx>
- Subject: Re: Feature request: tab completion for git tree paths
- Date: Sun, 27 Mar 2011 14:20:26 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=17l522iqS7E7BDNbwzeQg+7PK6PJac6ALsb7zBHSrqs=; b=lBtVucCxOWuUetkgnD53RGVQLCKr3RdJVZ5tCBm7he8P2qgfeedt+NmUpxztUpx8TM 0PULYAD1rJ8KR8XGRAiozbMeDoJ97KnrDuV/JF6hChJMp8eRQgnUr7wQnWJatXL9oKdh KyY77iq2oTDrFhblu1ZC5Zf9lAz616S6ofrXY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=I0PTZyr4B2BX6hRP+vQEnNJok2g68hw8G/vEoIXGTyXDpjytsh/TI4HUXMUpWNhAkQ EMgEC2IamKA5R8rL6KwH4Pj5an+XBZMjYkPuJrXXSMNgufyLu4aZsvCy+dLhQWG2X6Vr k2EMmQ9W2OG+9AJ08aBpFOztWWIFPek2oNKcw=
- In-reply-to: <AANLkTikGHNP-eZmnB__QytnQ4HE5EcBKhs_F+KW37By0@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <AANLkTikGHNP-eZmnB__QytnQ4HE5EcBKhs_F+KW37By0@mail.gmail.com>
On 27 March 2011 14:06, Johannes Bittner <johannes.bittner@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author