Skip to content

Instantly share code, notes, and snippets.

@tmknom
Created April 24, 2016 14:48
Show Gist options
  • Save tmknom/f26b3fa055f24f5c3955adad68a2bcf8 to your computer and use it in GitHub Desktop.
Save tmknom/f26b3fa055f24f5c3955adad68a2bcf8 to your computer and use it in GitHub Desktop.
# git settings
source ~/Documents/.git-prompt.sh
source ~/Documents/.git-completion.bash
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWUNTRACKEDFILES=true
GIT_PS1_SHOWSTASHSTATE=true
GIT_PS1_SHOWUPSTREAM=auto
export PS1='\[\033[32m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment