Add colors to the prompt for status indicators
- From
Sebastien Douche <sdouche@gmail.com>
- Date
- Oct 31, 2010, 04:14 UTC
- Message-ID
- <AANLkTi=ZdR4_reQgxL+xRaFE=SaqBYAWTrEuGEbLGynt@mail.gmail.com>
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)