Added rvm info to bashrc/zshrc

This commit is contained in:
Nick Nisi
2012-05-14 09:39:21 -05:00
parent 439d1e54ce
commit de64da88af
2 changed files with 7 additions and 4 deletions

View File

@@ -25,3 +25,5 @@ fi
# setting a custom prompt, with git branch info
export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

View File

@@ -26,11 +26,12 @@ export EDITOR='vim'
export PATH=/usr/local/bin:$PATH
# load rvm
if [[ -d ~/.rvm ]]; then
source ~/.rvm/scripts/rvm
fi
# check for custom bin directory and add to path
if [[ -d ~/bin ]]; then
export PATH=~/bin:$PATH
fi
# load RVM
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"