public
Last active — forked from justintv/.bashrc

  • Download Gist
gistfile1.sh
Shell
1
PS1="\\w:\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)\$ "
gistfile2.sh
Shell
1 2
PS1='\[\033[00;32m\]\u\[\033[01m\]@\[\033[00;36m\]\h\[\033[01m\]:\[\033[00;35m\]\w\[\033[00m\]\[\033[01;33m\]`git branch 2>/dev/null|cut -f2 -d\* -s`\[\033[00m\]\$ '
PS1='\[\033[00;32m\]\u \[\033[00;35m\]\w\[\033[00m\]\[\033[00;33m\]`git branch 2>/dev/null|cut -f2 -d\* -s` \[\033[00m\]\$ '

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.