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.
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
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html