diff --git a/gitprompt.sh b/gitprompt.sh index de42263..b7ceda2 100755 --- a/gitprompt.sh +++ b/gitprompt.sh @@ -520,7 +520,7 @@ function updatePrompt() { fi if eval "test $v" ; then if [[ $# -lt 2 || "$3" != '-' ]] && [[ "x$1" == "xREMOTE" || "${__GIT_PROMPT_SHOW_CHANGED_FILES_COUNT}" -eq "1" ]]; then - __add_status "\$GIT_PROMPT_$1\$GIT_$1\$ResetColor" + __add_status "\$GIT_PROMPT_$1\$GIT_$1\$ResetColor" else __add_status "\$GIT_PROMPT_$1\$ResetColor" fi