Create a gist now

Instantly share code, notes, and snippets.

PS1 bashrc
#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment