git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Colored prompt for zsh
@ 2013-05-11 16:25 Ramkumar Ramachandra
  2013-05-11 16:25 ` [PATCH 1/2] git-prompt.sh: strip unnecessary space in prompt string Ramkumar Ramachandra
  2013-05-11 16:25 ` [PATCH 2/2] git-prompt.zsh: introduce thin ZSH wrapper Ramkumar Ramachandra
  0 siblings, 2 replies; 16+ messages in thread
From: Ramkumar Ramachandra @ 2013-05-11 16:25 UTC (permalink / raw)
  To: Git List; +Cc: Junio C Hamano

Hi,

I was using ZSH's vcs_info until now, and just discovered
contrib/completion/git-prompt.sh.  Other differences aside, it's
simple enough that I can hack on it.

The first patch strips a small whitespace (we can't waste valuable
real estate on unnecessary whitespace), and the second patch should
get you a beautiful colored prompt in ZSH.

Enjoy!

Ramkumar Ramachandra (2):
  git-prompt.sh: strip unnecessary space in prompt string
  git-prompt.zsh: introduce thin ZSH wrapper

 contrib/completion/git-prompt.sh  | 80 ++++++++++++++++++++-------------------
 contrib/completion/git-prompt.zsh | 59 +++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+), 38 deletions(-)
 create mode 100644 contrib/completion/git-prompt.zsh

-- 
1.8.3.rc1.52.g4537cf1

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

end of thread, other threads:[~2013-05-13 14:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-11 16:25 [PATCH 0/2] Colored prompt for zsh Ramkumar Ramachandra
2013-05-11 16:25 ` [PATCH 1/2] git-prompt.sh: strip unnecessary space in prompt string Ramkumar Ramachandra
2013-05-13  4:57   ` Junio C Hamano
2013-05-13  7:40     ` Ramkumar Ramachandra
2013-05-13  9:17       ` SZEDER Gábor
2013-05-13 10:13         ` Ramkumar Ramachandra
2013-05-13 11:05           ` SZEDER Gábor
2013-05-13 11:11             ` SZEDER Gábor
2013-05-13 13:58               ` Junio C Hamano
2013-05-13 14:21                 ` Ramkumar Ramachandra
2013-05-11 16:25 ` [PATCH 2/2] git-prompt.zsh: introduce thin ZSH wrapper Ramkumar Ramachandra
2013-05-11 21:26   ` Felipe Contreras
2013-05-11 22:18     ` [PATCH v2] git-prompt.sh: colorize ZSH prompt Ramkumar Ramachandra
2013-05-11 22:29       ` Felipe Contreras
2013-05-11 22:40         ` Ramkumar Ramachandra
2013-05-11 23:06           ` Felipe Contreras

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).