[PATCH 2/2] git-prompt.zsh: introduce thin ZSH wrapper

2013-05-11 Thread Ramkumar Ramachandra
To facilitate a colored prompt in ZSH, write a thin wrapper around git-prompt.sh, factoring out and overriding the coloring logic. Since ZSH lacks a PROMPT_COMMAND, instruct the user to execute __git_ps1 inside precmd(). Signed-off-by: Ramkumar Ramachandra artag...@gmail.com ---

Re: [PATCH 2/2] git-prompt.zsh: introduce thin ZSH wrapper

2013-05-11 Thread Felipe Contreras
On Sat, May 11, 2013 at 11:25 AM, Ramkumar Ramachandra artag...@gmail.com wrote: To facilitate a colored prompt in ZSH, write a thin wrapper around git-prompt.sh, factoring out and overriding the coloring logic. Since ZSH lacks a PROMPT_COMMAND, instruct the user to execute __git_ps1 inside