git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastien Douche <sdouche@gmail.com>
To: git@vger.kernel.org
Subject: Add colors to the prompt for status indicators
Date: Sun, 31 Oct 2010 05:14:08 +0100	[thread overview]
Message-ID: <AANLkTi=ZdR4_reQgxL+xRaFE=SaqBYAWTrEuGEbLGynt@mail.gmail.com> (raw)

Hi,
the prompt (git-completion.bash) bundled with git is the most
"advanced" I found on the web. But I would add colors for "status".
Example show: * (unstaged) in blue, + (staged in red), $ (stashed) in
green, % (untracked) in bold blue and < > <> (upstream indicator) in
red.

How make this?

Cheers

-- 
Sebastien Douche <sdouche@gmail.com>
Twitter: http://bit.ly/afkrK (agile, lean, python, git, open source)

             reply	other threads:[~2010-10-31  4:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-31  4:14 Sebastien Douche [this message]
2010-10-31  6:26 ` Add colors to the prompt for status indicators Kevin Ballard
2010-11-14 20:50 ` Andrew Sayers
2010-11-15 22:52   ` Kevin Ballard
2010-11-15 23:14     ` Kevin Ballard
2010-11-16  8:11       ` Sebastien Douche
2010-11-16  9:07         ` Kevin Ballard
2010-11-16 10:43           ` Michael J Gruber
2010-11-16 10:49             ` Kevin Ballard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=ZdR4_reQgxL+xRaFE=SaqBYAWTrEuGEbLGynt@mail.gmail.com' \
    --to=sdouche@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).