From: Junio C Hamano Date: Sun, 21 Apr 2013 08:48:08 GMT Subject: Re: [PATCH] prompt: fix tracked files for zsh Message-ID: <7vli8cuv5j.fsf@alter.siamese.dyndns.org> In-Reply-To: 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? > > Andreas.