Last active
May 14, 2016 21:35
-
-
Save da9l/d8dc5a5ff708fa2faa0db3b70d391e59 to your computer and use it in GitHub Desktop.
Git-prompt-color
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
source /etc/bash_completion.d/git-prompt | |
GIT_PS1_SHOWCOLORHINTS=true | |
GIT_PS1_SHOWDIRTYSTATE=true | |
PROMPT_COMMAND='__git_ps1 "${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w" "\$\[\033[00m\] "' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment