Skip to content

Instantly share code, notes, and snippets.

/-

Created May 14, 2016 21:09
Show Gist options
  • Save anonymous/e7ee54a92fb53b33619678866dfeb76c to your computer and use it in GitHub Desktop.
Save anonymous/e7ee54a92fb53b33619678866dfeb76c to your computer and use it in GitHub Desktop.
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