Created
October 9, 2012 14:27
-
-
Save DanCoughlin/3859172 to your computer and use it in GitHub Desktop.
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
PATH=:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/X11R6/bin:/Applications/Utilities:$HOME/bin:/usr/local/fits-0.6.0:$PATH | |
# Tomcat, Java, Fedora settings | |
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home; | |
export JAVA_HOME; | |
# default shell settings | |
set -o vi | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export EDITOR=/usr/bin/vi | |
# load the .bashrc file (which in turn loads the .bash_aliases file | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi | |
#echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.profile | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function | |
[[ -s "/Users/jxb13/.rvm/scripts/rvm" ]] && source "/Users/jxb13/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
function __rvm_ruby_version { | |
local gemset=$(echo $GEM_HOME | awk -F'@' '{print $2}') | |
[ "$gemset" != "" ] && gemset="${COLOR_NONE}${LIGHT_GRAY}@$gemset" | |
local version=$(echo $MY_RUBY_HOME | awk -F'-' '{print $2}') | |
[ "$version" != "" ] && version="${COLOR_NONE}${LIGHT_GRAY}$version" | |
local full="$version$gemset" | |
[ "$full" != "" ] && echo "[$full]" | |
} | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment