Skip to content

Instantly share code, notes, and snippets.

@lsmolic

lsmolic/gist:5969665

Created Jul 10, 2013
Embed
What would you like to do?
bash
#CONFIG TERMINAL
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
#sets up the prompt color (currently a green similar to linux terminal)
#enables color for iTerm
export TERM=xterm-color
export EC2_HOME=/Users/lsmolic/.ec2
export EC2_PRIVATE_KEY=`ls $EC2_HOME/pk-*.pem`
export EC2_CERT=`ls $EC2_HOME/cert-*.pem`
#export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home
export JAVA_HOME=`/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java_home`
#PATH STUFF
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export PATH=$HOME/.rvm/bin:/usr/local/bin:/usr/local/sbin:~/bin:/usr/local/mysql/bin:/opt/ImageMagick/bin:/usr/local/mysql/lib:$PATH
export PATH=/Applications/AndroidSDK/sdk/tools:$EC2_HOME/bin:$PATH
export EDITOR="vi"
export PKG_CONFIG_PATH=/opt/ImageMagick/lib/pkgconfig
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment