git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Colored prompt for ZSH
@ 2013-05-17  8:55 Ramkumar Ramachandra
  2013-05-17  8:55 ` [PATCH 1/3] prompt: introduce GIT_PS1_STATESEPARATOR Ramkumar Ramachandra
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ramkumar Ramachandra @ 2013-05-17  8:55 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Git List

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}"
fi

Everything 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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH v2 0/3] Colored prompt for ZSH
@ 2013-05-13 13:49 Ramkumar Ramachandra
  2013-05-13 13:49 ` [PATCH 1/3] prompt: introduce GIT_PS1_STATESEPARATOR Ramkumar Ramachandra
  0 siblings, 1 reply; 8+ messages in thread
From: Ramkumar Ramachandra @ 2013-05-13 13:49 UTC (permalink / raw)
  To: Git List; +Cc: Felipe Contreras, SZEDER Gábor, Junio C Hamano

Thanks to Felipe, SZEDER, and Junio for a review of v1.  This is a v2
in response to those reviews.

Ramkumar Ramachandra (3):
  prompt: introduce GIT_PS1_STATESEPARATOR
  prompt: factor out gitstring coloring logic
  prompt: colorize ZSH prompt

 contrib/completion/git-prompt.sh | 128 +++++++++++++++++++++++++++------------
 1 file changed, 89 insertions(+), 39 deletions(-)

-- 
1.8.3.rc1.57.g4ac1522

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-05-17 17:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-17  8:55 [PATCH v3 0/3] Colored prompt for ZSH Ramkumar Ramachandra
2013-05-17  8:55 ` [PATCH 1/3] prompt: introduce GIT_PS1_STATESEPARATOR Ramkumar Ramachandra
2013-05-17  8:55 ` [PATCH 2/3] prompt: factor out gitstring coloring logic Ramkumar Ramachandra
2013-05-17 17:00   ` Junio C Hamano
2013-05-17  8:55 ` [PATCH 3/3] prompt: colorize ZSH prompt Ramkumar Ramachandra
  -- strict thread matches above, loose matches on Subject: below --
2013-05-13 13:49 [PATCH v2 0/3] Colored prompt for ZSH Ramkumar Ramachandra
2013-05-13 13:49 ` [PATCH 1/3] prompt: introduce GIT_PS1_STATESEPARATOR Ramkumar Ramachandra
2013-05-13 15:10   ` Junio C Hamano
2013-05-16 12:12     ` Ramkumar Ramachandra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).