Re: [PATCH] prompt: fix tracked files for zsh
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 21, 2013, 08:48 UTC
- Message-ID
- <7vli8cuv5j.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <m2fvyk8fb8.fsf@igel.home>
Andreas Schwab <schwab@linux-m68k.org> writes:
Show 9 quoted lines
> Felipe Contreras <felipe.contreras@gmail.com> writes:
>
>> + if [ -n "${ZSH_VERSION-}" ]; then
>> + u="%%"
>> + else
>> + u="%"
>> + fi
>
> aka u="%${ZSH_VERSION:+%}"Do you need/want a colon there? Even if it is empty, as long as it is defined we would want this, no?
> > Andreas.