Permalink
Browse files

Fix git PS1 branch display.

  • Loading branch information...
1 parent 5266905 commit 1329d3486b279f29ee04bbe06a3da54fc06b14cc @mfs committed Jan 31, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 bashrc
View
@@ -55,7 +55,7 @@ function set_prompt {
fi
if [[ $( type -t __git_ps1 ) == "function" ]]; then
- git_p="\$(__git_ps1 '${LCY}git:%s ')"
+ git_p="\$(__git_ps1 '${LCY}[%s] ' )"
fi
if [[ $( type -t hg ) == "file" ]]; then
@@ -224,6 +224,7 @@ export SCONSFLAGS="-Q -j 3"
shopt -s checkwinsize
+source /usr/share/git/git-prompt.sh
set_prompt
DIST=$( distro )

0 comments on commit 1329d34

Please sign in to comment.