diff --git a/shell/prompt b/shell/prompt index b260eba..50928ac 100644 --- a/shell/prompt +++ b/shell/prompt @@ -83,7 +83,7 @@ gitprompt () { /bin/echo -ne "${purple}$(basename $top) " # BRANCH - if [ -z "$branch" ] + if [ -z "$git_branch" ] then head=$(git rev-parse --short HEAD 2>&1) if [ "$(echo "$head" | grep '^fatal')" ]