Created
July 10, 2013 19:55
-
-
Save lsmolic/5969665 to your computer and use it in GitHub Desktop.
bash
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
#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