Issue 1195: fancy git tips
http://code.google.com/p/sympy/issues/detail?id=1195
Comment #2 by Vinzent.Steinberg:
(No comment was entered for this change.)
Issue attribute updates:
Status: Fixed
--
You received this message because you are listed in the owner
or CC fields of this issue
Issue 1195: fancy git tips
http://code.google.com/p/sympy/issues/detail?id=1195
Comment #1 by ondrej.certik:
At least in Debian, "git log" shows in colors and it is in less, so I guess
it uses
the colors automatically. But I have this in my ~/.gitconfig:
[color]
diff = auto
status=
Issue 1195: fancy git tips
http://code.google.com/p/sympy/issues/detail?id=1195
New issue report by Vinzent.Steinberg:
* 'less -R' supports color, you can tell git to use it.
* Add this
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
PS1="\w\$(parse_g