Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] improved git completion



On Tue, Jan 29, 2008 at 09:51:52AM +0100, Nikolai Weibull wrote:
> On Jan 29, 2008 9:38 AM, Dominik Vogt <dominik.vogt@xxxxxx> wrote:
> 
> > On Mon, Jan 28, 2008 at 10:45:50AM +0100, Nikolai Weibull wrote:
> > > On Jan 24, 2008 7:47 PM, Dominik Vogt <dominik.vogt@xxxxxx> wrote:
> 
> > > > 0002*
> 
> > > > Also replaces $* with $@ in some places
> 
> > > Why?
> 
> > It should have been "$@", not just $@, sorry.
> >
> > The reason is that $*, $@ or "$*" don't handle whitespace in the
> > arguments.  Only "$@" keeps the original tokens.
> 
> Not in Zsh, unless you set a funky environment up for yourself, which
> isn't the case in this completion definition.

Yes, sorry; I'm so used to SH_WORD_SPLIT that I forgot it is there.

Ciao

Dominik ^_^  ^_^

-- 
Dominik Vogt



Messages sorted by: Reverse Date, Date, Thread, Author