Skip to content

Instantly share code, notes, and snippets.

@bartcerneels
Last active July 10, 2019 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bartcerneels/4f51ce1e9921532cf9196402c75a5634 to your computer and use it in GitHub Desktop.
Save bartcerneels/4f51ce1e9921532cf9196402c75a5634 to your computer and use it in GitHub Desktop.
My PS1 settings including git prompt
# wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
source ~/.git-prompt.sh
GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWUNTRACKEDFILES=1
GIT_PS1_SHOWUPSTREAM="auto"
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$(__git_ps1)\n\$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment