Permalink
Browse files

RVM

  • Loading branch information...
1 parent 3020d23 commit 66e253e53b06a8aad3d4c633a91001109102f8a3 @bryanmikaelian committed Apr 21, 2012
Showing with 7 additions and 1 deletion.
  1. +2 −0 bash_profile
  2. +2 −0 bashrc
  3. +1 −1 zsh/config
  4. +2 −0 zshrc
View
2 bash_profile
@@ -1,3 +1,5 @@
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
+
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
View
2 bashrc
@@ -1,2 +1,4 @@
# Config
source ~/.bash/paths
+
+PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
View
2 zsh/config
@@ -12,4 +12,4 @@ source $ZSH/oh-my-zsh.sh
[[ -s "$HOME/.nvm/nvm.sh" ]] && source "$HOME/.nvm/nvm.sh"
# RVM
-
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
View
2 zshrc
@@ -1,3 +1,5 @@
. ~/.zsh/aliases
. ~/.zsh/config
+
+PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

0 comments on commit 66e253e

Please sign in to comment.