Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 9820ea2f2c663cc4d233c4d4f522a1a2 > files > 1

git-prompt-1.7.1-1.2mdv2010.1.i586.rpm

# Include the current git branch in the prompt

if type __git_ps1 &>/dev/null; then
  export PS1="$(echo -n "$PS1" | sed "s|\\\W\]|\\\W\$(type __git_ps1 \&>/dev/null \&\& __git_ps1 \" (%s)\")\]|")"
fi