From cc5a9a40d58147033526505a9bcde9a3556ca13e Mon Sep 17 00:00:00 2001 From: Holger Just Date: Tue, 3 Aug 2010 16:34:19 +0200 Subject: [PATCH] Fixed display of git branch --- bin/bash_vcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bash_vcs.sh b/bin/bash_vcs.sh index 88077f1..2be7804 100755 --- a/bin/bash_vcs.sh +++ b/bin/bash_vcs.sh @@ -16,7 +16,7 @@ __prompt_command() { } git_dir() { - ref=`__git_ps1` + ref=$(echo -e $(__git_ps1)) if [ -z $ref ]; then return 1; fi vcs="git" alias pull="git pull"