Skip to content

Instantly share code, notes, and snippets.

@dustinfarris
Created October 19, 2013 13:34
Show Gist options
  • Save dustinfarris/7055894 to your computer and use it in GitHub Desktop.
Save dustinfarris/7055894 to your computer and use it in GitHub Desktop.
# Put user (homebrew) installations ahead of system installations
export PATH="/usr/local/bin:$PATH"
# Use local node binaries before global binaries
export PATH="./node_modules/.bin:$PATH"
# Use colors for terminal output
export CLICOLOR=1
# Initialize virtualenvwrapper
export VIRTUALENVWRAPPER_PYTHON="/usr/local/bin/python3"
source "/usr/local/bin/virtualenvwrapper.sh"
# Enable bash completion
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
# Set default prompt
source ~/.git-prompt.sh
PS1='\[\033[01;32m\]\u\[\033[00;32m\]@\h \[\033[01;34m\]\w\[\033[01;37m\]$(__git_ps1 " (%s)") \[\033[00m\]\$ '
# Source .bashrc, if it exists
[[ -r ~/.bashrc ]] && . ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment