Re: [PATCH] Add tcsh-completion support to contrib by using git-completion.bash

2012-11-14 Thread Felipe Contreras
On Wed, Nov 14, 2012 at 1:11 AM, SZEDER Gábor wrote: > On Tue, Nov 13, 2012 at 07:31:45PM +0100, Felipe Contreras wrote: >> On Mon, Nov 12, 2012 at 9:07 PM, Marc Khouzam wrote: >> > + # Call _git() or _gitk() of the bash script, based on the first >> > + # element of the command-line

Re: [PATCH] Add tcsh-completion support to contrib by using git-completion.bash

2012-11-13 Thread Marc Khouzam
Thanks for the review. I wasn't aware that you were doing a similar effort for zsh. On Tue, Nov 13, 2012 at 1:31 PM, Felipe Contreras wrote: > On Mon, Nov 12, 2012 at 9:07 PM, Marc Khouzam wrote: > >> this patch allows tcsh-users to get the benefits of the awesome >> git-completion.bash script.

Re: [PATCH] Add tcsh-completion support to contrib by using git-completion.bash

2012-11-13 Thread SZEDER Gábor
On Tue, Nov 13, 2012 at 07:31:45PM +0100, Felipe Contreras wrote: > On Mon, Nov 12, 2012 at 9:07 PM, Marc Khouzam wrote: > > + # Call _git() or _gitk() of the bash script, based on the first > > + # element of the command-line > > + _${COMP_WORDS[0]} > > You might want to use __

Re: [PATCH] Add tcsh-completion support to contrib by using git-completion.bash

2012-11-13 Thread Felipe Contreras
On Mon, Nov 12, 2012 at 9:07 PM, Marc Khouzam wrote: > this patch allows tcsh-users to get the benefits of the awesome > git-completion.bash script. It could also help other shells do the same. Maybe you can try to take a look at the same for zsh: http://article.gmane.org/gmane.comp.version-con