Last active
November 18, 2015 01:55
-
-
Save rbottomley/80ff6b77d10664d2f8d7 to your computer and use it in GitHub Desktop.
My git notes.
This file contains 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
# Add to end of .bashrc. Uses git-prompt.sh from github to set branch in Bash prompt. | |
. ~/.git-prompt.sh | |
GIT_PS1_SHOWCOLORHINTS=1 | |
PROMPT_COMMAND='__git_ps1 "\n\[\033[01;37;44m\]\u@\h \[\033[01;37;40m\] \d \$(date +%I:%M:%S%P)\n\[\033[01;33;40m\]\w" ">\[\033[00m\] " "(%s\[\033[01;33;40m\])"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment