Skip to content

Instantly share code, notes, and snippets.

@estebistec
Last active August 29, 2015 13:57
Show Gist options
  • Save estebistec/9696105 to your computer and use it in GitHub Desktop.
Save estebistec/9696105 to your computer and use it in GitHub Desktop.
# Update brew
brew update; brew upgrade; brew cleanup --force; brew doctor
# pythonz
[[ -s $HOME/.pythonz/etc/bashrc ]] && source $HOME/.pythonz/etc/bashrc
# Update setuptools, pip, and virtualenvwrapper
pip install -U pip setuptools virtualenv virtualenvwrapper cookiecutter
# Setup virtualenvwrapper
export WORKON_HOME=$HOME/VirtualEnvs
mkdir -p $WORKON_HOME
source `which virtualenvwrapper.sh`
export PIP_DOWNLOAD_CACHE=$HOME/.pip_download_cache
mkdir -p $PIP_DOWNLOAD_CACHE
function mkve2() {
mkvirtualenv -p $HOME/.pythonz/pythons/CPython-2.7.6/bin/python $@;
}
alias runthis="python -m SimpleHTTPServer"
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
#rvm get stable
export PATH="/opt/chef/embedded/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment