Skip to content

Instantly share code, notes, and snippets.

@gnuget
Created October 2, 2010 21:56
Show Gist options
  • Save gnuget/608037 to your computer and use it in GitHub Desktop.
Save gnuget/608037 to your computer and use it in GitHub Desktop.
#bash completion
if [ -f /usr/local/Cellar/bash-completion/1.2/etc/bash_completion ]; then
. /usr/local/Cellar/bash-completion/1.2/etc/bash_completion
fi
#prompt
export PS1="[\u@\h \w \$(__git_ps1 '(%s)')]$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment