Created
September 11, 2013 16:40
-
-
Save bbengfort/6526321 to your computer and use it in GitHub Desktop.
My bash profile for Mac
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
## | |
# Adding the bin of my home directory to the path | |
## | |
export PATH=/Users/benjamin/bin:$PATH | |
## | |
# Setting the correct version of Python | |
## | |
export VERSIONER_PYTHON_VERSION=2.7 | |
alias ls="ls -G" | |
alias ll="ls -lGhF" | |
alias la="ls -A" | |
alias ld="ls -d" | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias vim="mvim" | |
alias vi="vim" | |
alias a2restart="sudo apachectl restart" | |
alias get_python_lib="python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib();'" | |
alias psql="/Applications/Postgres.app/Contents/MacOS/bin/psql" | |
alias pg_dump="/Applications/Postgres.app/Contents/MacOS/bin/pg_dump" | |
alias e="subl . &" | |
## | |
# Your previous /Users/benjamin/.profile file was backed up as /Users/benjamin/.profile.macports-saved_2013-06-14_at_18:00:27 | |
## | |
# MacPorts Installer addition on 2013-06-14_at_18:00:27: adding an appropriate PATH variable for use with MacPorts. | |
export PATH=/opt/local/bin:/opt/local/sbin:$PATH | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
# virtualenv | |
export WORKON_HOME=$HOME/.virtualenvs | |
export PROJECT_HOME=$HOME/Repos/git/ | |
source /usr/local/bin/virtualenvwrapper.sh | |
alias venv="workon" | |
alias venv.exit="deactivate" | |
alias venv.ls="lsvirtualenv" | |
alias venv.show="showvirtualenv" | |
alias venv.init="mkvirtualenv" | |
alias venv.rm="rmvirtualenv" | |
alias venv.switch="workon" | |
alias venv.add="add2virtualenv" | |
alias venv.cd="cdproject" | |
alias venv.cdsp="cdsitepackages" | |
alias venv.cdenv="cdvirtualenv" | |
alias venv.lssp="lssitepackages" | |
alias venv.proj="mkproject" | |
alias venv.setproj="setvirtualenvproject" | |
alias venv.wipe="wipeenv" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment