diff --git a/gitprompt.sh b/gitprompt.sh index 913d0a9..750ee83 100755 --- a/gitprompt.sh +++ b/gitprompt.sh @@ -482,7 +482,7 @@ function updatePrompt() { if [[ "x$2" == "x-n" ]] ; then v="$2 \"\$GIT_$1\"" else - v="\"\$GIT_$1 $2\"" + v="\"\$GIT_$1\" $2" fi if eval "test $v" ; then if [[ $# -lt 2 || "$3" != '-' ]]; then