Created
March 13, 2012 04:28
-
-
Save boundsj/2026751 to your computer and use it in GitHub Desktop.
My .profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################ | |
# jesse's .profile | |
################################################################ | |
# set path so that the bin folder that brew uses comes before | |
# the /usr/bin | |
PATH=/usr/local/bin:$PATH | |
################################################################ | |
# remote host aliases | |
################################################################ | |
alias vb="ssh developer@localhost -p 2222" | |
alias geopher="ssh -i jesse-ggrafters-sfsos.pem newsapps@geopher.net" | |
alias cfachi-dev-root="ssh -i jesse-ggrafters-dev.pem ubuntu@107.22.188.137" | |
alias cfachi-dev="ssh jesse@107.22.188.137" | |
################################################################ | |
# javascript testing framework stuff | |
################################################################ | |
alias jstest="java -jar $JSTESTDRIVER_HOME/JsTestDriver-1.2.1.jar --port 4224" | |
export JSTESTDRIVER_HOME=~/.local | |
################################################################ | |
# python virtualenv & virtualenvwrapper | |
# set virtualenvwrapper env variables | |
# note: will use the first python found in path (see comment below) | |
# references: | |
# http://www.doughellmann.com/docs/virtualenvwrapper/install.html | |
# http://docwhat.org/2011/06/virtualenv-on-os-x/ | |
################################################################ | |
# set the root path for virtualenvwrapper | |
export WORKON_HOME=$HOME/.virtualenvs | |
# | |
# uncomment and set to use specific python (requires re-source) | |
# export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python2.7 | |
# | |
# ensure that all new environments are isolated from the | |
# system site-packages directory | |
export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages' | |
# | |
# pip is designed to work with virtualenv, in that it can be | |
# given the path to a virtualenv environment (with -E or | |
# --environment) and it will know to install to that | |
# environment instead of the system site-package locations. | |
# the next two lines make pip use the same directory | |
# for virtualenvs as virtualenvwrapper and detect an | |
# active (active in the virtualenv/wrapper context) | |
# virtualenv and install to it, without having to pass it | |
# the -E parameter | |
export PIP_VIRTUALENV_BASE=$WORKON_HOME | |
export PIP_RESPECT_VIRTUALENV=true | |
# | |
# load up all the virtualenvwrapper goodness so you can | |
# call its commands from the command line easily | |
source /usr/local/bin/virtualenvwrapper.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment