On Sat, May 11, 2013 at 5:18 PM, Ramkumar Ramachandra
[off-list ref] 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 <redacted>
---
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