We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cfb640 commit 1040318Copy full SHA for 1040318
README.md
@@ -37,8 +37,8 @@ git clone git://github.com/jimeh/git-aware-prompt.git
37
Edit your `~/.bash_profile` or `~/.profile` or `~/.bashrc` (for Ubuntu) and add the following to the top:
38
39
```bash
40
-export GITAWAREPROMPT=~/.bash/git-aware-prompt
41
-source "${GITAWAREPROMPT}/main.sh"
+# Include git-aware-prompt bash script
+source ${HOME}/.bash/git-aware-prompt/main.sh
42
```
43
44
main.sh
@@ -1,2 +1,3 @@
1
+GITAWAREPROMPT=`dirname "${BASH_SOURCE[0]}"`
2
# source "${GITAWAREPROMPT}/colors.sh"
3
source "${GITAWAREPROMPT}/prompt.sh"
0 commit comments