Skip to content

Instantly share code, notes, and snippets.

@soney
Created April 6, 2012 15:27
Show Gist options
  • Save soney/2320779 to your computer and use it in GitHub Desktop.
Save soney/2320779 to your computer and use it in GitHub Desktop.
.bash_profile
export CLICOLOR=1
export LSCOLORS=cxgxCxDxBxegedabagacad
# Set git autocompletion and PS1 integration
if [ -f /usr/local/git/contrib/completion/git-completion.bash ]; then
. /usr/local/git/contrib/completion/git-completion.bash
fi
GIT_PS1_SHOWDIRTYSTATE=true
if [ -f /opt/local/etc/bash_completion ]; then
. /opt/local/etc/bash_completion
fi
export PS1="\W\[\033[0;33m\] %\[\033[0m\] "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment