diff --git a/README.md b/README.md index 003dd7c..f634702 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,7 @@ git clone git://github.com/jimeh/git-aware-prompt.git Edit your `~/.bash_profile` or `~/.profile` and add the following to the top: ```bash -export GITAWAREPROMPT=~/.bash/git-aware-prompt -source "${GITAWAREPROMPT}/main.sh" +source ~/.bash/git-aware-prompt/main.sh ``` diff --git a/main.sh b/main.sh index 4e6c418..30570d4 100644 --- a/main.sh +++ b/main.sh @@ -1,2 +1,3 @@ +GITAWAREPROMPT=`dirname "${BASH_SOURCE[0]}"` source "${GITAWAREPROMPT}/colors.sh" source "${GITAWAREPROMPT}/prompt.sh"