From: Pat Thoyts Date: Fri, 28 Sep 2012 10:26:35 +0000 (+0100) Subject: Source git-prompt.sh if present. X-Git-Tag: Git-1.8.0-preview20121022~11 X-Git-Url: https://repo.or.cz/w/msysgit.git/commitdiff_plain/206019cae3d9df844a7b6046b607591c458b1d0b Source git-prompt.sh if present. In git commit af31a456 the git prompt code was moved out into another file to permit lazy loading of bash functions. To maintain our git prompt we must source both files now. Signed-off-by: Pat Thoyts --- diff --git a/etc/profile b/etc/profile index 3f01758a..1f3a001b 100644 --- a/etc/profile +++ b/etc/profile @@ -152,6 +152,7 @@ esac . /git/contrib/completion/git-completion.bash +[ -r /git/contrib/completion/git-prompt.sh ] && . /git/contrib/completion/git-prompt.sh if test -z "$WINELOADERNOEXEC" then PS1='\[\033]0;$MSYSTEM:\w\007