Skip to content

Instantly share code, notes, and snippets.

@rnaveiras
Created January 19, 2012 17:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rnaveiras/1641322 to your computer and use it in GitHub Desktop.
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