Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > 0067c8670751f8fefe9558711c1724e5 > files > 1

git-2.13.7-1.mga6.src.rpm

# Include the current git branch in the prompt

if [ -f /usr/share/doc/git-core/contrib/completion/git-prompt.sh ]; then
  . /usr/share/doc/git-core/contrib/completion/git-prompt.sh
  export PS1="$(echo -n "$PS1" | sed "s|\\\W\]|\\\W\$(type __git_ps1 >/dev/null  2>\&1 \&\& __git_ps1 \" (%s)\")\]|")"
fi