From: Andreas Schwab Date: Sun, 21 Apr 2013 19:02:12 GMT Subject: Re: [PATCH] prompt: fix tracked files for zsh Message-ID: In-Reply-To: <7vli8cuv5j.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > Andreas Schwab writes: > >> Felipe Contreras 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? The original wouldn't. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."