From: Felipe Contreras Date: Sat, 11 May 2013 22:29:52 GMT Subject: Re: [PATCH v2] git-prompt.sh: colorize ZSH prompt Message-ID: In-Reply-To: <1368310739-24099-1-git-send-email-artagnon@gmail.com> On Sat, May 11, 2013 at 5:18 PM, Ramkumar Ramachandra wrote: > Add colors suitable for use in the ZSH prompt. Having learnt that the > ZSH equivalent of PROMPT_COMMAND is precmd (), you can now use > GIT_PS1_SHOWCOLORHINTS with ZSH. > > Signed-off-by: Ramkumar Ramachandra > --- > You like this more? I don't mind going either way. Not really. If we need to avoid the \[\], it makes sense to have a separate function, but what I meant is that this function should be initially on the same file, and created in a separate patch. -- Felipe Contreras