Skip to content

Instantly share code, notes, and snippets.

@da9l
Last active May 14, 2016 21:35
Show Gist options
  • Save da9l/d8dc5a5ff708fa2faa0db3b70d391e59 to your computer and use it in GitHub Desktop.
Save da9l/d8dc5a5ff708fa2faa0db3b70d391e59 to your computer and use it in GitHub Desktop.
Git-prompt-color
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