[PATCH 0/2] Colored prompt for zsh
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- May 11, 2013, 16:25 UTC
- Message-ID
- <1368289513-8700-1-git-send-email-artagnon@gmail.com>
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