Skip to content

Instantly share code, notes, and snippets.

@jonatasnona
Last active October 12, 2015 15:38
Show Gist options
  • Save jonatasnona/4049574 to your computer and use it in GitHub Desktop.
Save jonatasnona/4049574 to your computer and use it in GitHub Desktop.
Git: environment branch colors
# put this in bashrc
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;33m\]$(__git_ps1 " [%s]")\[\033[0m\] \[\033[00m\]$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment