diff --git a/gitprompt.sh b/gitprompt.sh index 1b2954f..84791fa 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