[PATCH v3 0/3] Colored prompt for ZSH
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- May 17, 2013, 08:55 UTC
- Message-ID
- <1368780948-28917-1-git-send-email-artagnon@gmail.com>
One minor change, in accordance with Junio's review. In part 1, I use:
local z="${GIT_PS1_STATESEPARATOR-" "}"Instead of the convoluted:
local z=" "
if [ -n "${GIT_PS1_STATESEPARATOR+set}" ]; then
z="${GIT_PS1_STATESEPARATOR}"
fiEverything else is the same. I've rebased it on top of the latest `master`.
Ramkumar Ramachandra (3): prompt: introduce GIT_PS1_STATESEPARATOR prompt: factor out gitstring coloring logic prompt: colorize ZSH prompt
contrib/completion/git-prompt.sh | 124 +++++++++++++++++++++++++++------------ 1 file changed, 85 insertions(+), 39 deletions(-)
-- 1.8.1.2.432.g070c57d