From: Felipe Contreras Date: Sun, 21 Apr 2013 21:00:49 GMT Subject: Re: [PATCH] prompt: fix tracked files for zsh Message-ID: In-Reply-To: On Sun, Apr 21, 2013 at 2:02 PM, Andreas Schwab wrote: > 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. I thought you were trying to improve the original ;) -- Felipe Contreras