public
Created

PS1 bashrc

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7
#Add the following lines to your ~/.bash_profile file:
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
 
PS1='\[\033[01;32m\]\u@\h:\[\033[00m\]\[\033[01;34m\]\w> \[\033[1;33m\]$(__git_ps1 "(git::%s)")\[\033[0m\]\n\[\033[01;34m\]\$ \[\033[00m\]'
export PS1

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.