diff --git a/gitprompt.sh b/gitprompt.sh index f767f7e..ca681bd 100644 --- a/gitprompt.sh +++ b/gitprompt.sh @@ -1,4 +1,7 @@ -__GIT_PROMPT_DIR=~/.bash +if [ "x$__GIT_PROMPT_DIR" == "x" ] +then + __GIT_PROMPT_DIR=~/.bash +fi # Colors # Reset