Skip to content

Instantly share code, notes, and snippets.

@tkaemming
Created June 27, 2011 17:44
Show Gist options
  • Save tkaemming/1049353 to your computer and use it in GitHub Desktop.
Save tkaemming/1049353 to your computer and use it in GitHub Desktop.
.profile
#
# Environment Variables
#
export JBOSS_HOME=/usr/local/jboss
export MIDTOWN_ROOT=${HOME}/Documents/sacpress/code/midtown-current
export MIDTOWN_JBOSS=${JBOSS_HOME}/server/midtown
export MYSQL_HOME=/usr/local/mysql
export GRAILS_HOME=/opt/local/share/java/grails
PATH=${HOME}/bin:${HOME}/Documents/sacpress/bin:${MYSQL_HOME}/bin:${PATH}
#
# Aliases
#
alias cdm="cd ${MIDTOWN_ROOT}"
alias psgrep="ps wwwwaux | grep "
alias flushdns="dscacheutil -flushcache"
# History
export HISTSIZE=10000
# Make it append, rather than overwrite the history
shopt -s histappend
# Point to the latest copy of pip, etc.
export PATH="/usr/local/bin:/usr/local/share/python:${PATH}"
# Fix the path for mysql binaries.
export PATH="${PATH}:/usr/local/mysql-5.1.51-osx10.6-x86_64/bin"
# RVM
[[ -s "/Users/andy_ford/.rvm/scripts/rvm" ]] && source "/Users/andy_ford/.rvm/scripts/rvm"
# MacPorts Installer addition on 2010-10-27_at_14:22:41: 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.
MANPATH=${MANPATH}:/usr/local/man:/opt/local/man
export MANPATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment