Created
October 27, 2015 10:54
-
-
Save hectorperez/6dbc47cc7906225cb05a to your computer and use it in GitHub Desktop.
git prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/jimeh/git-aware-prompt | |
# in my bash_profile: | |
export GITAWAREPROMPT=~/.bash/git-aware-prompt | |
source "${GITAWAREPROMPT}/main.sh" | |
export PS1="\u@\h \w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment