Skip to content

Commit

Permalink
add rvm function to ~/.zshrc and source ~/.zshrc after installing rvm
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Croak committed Aug 7, 2011
1 parent 256329f commit d40b854
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mac
Expand Up @@ -26,3 +26,6 @@ echo "Installing ImageMagick, good for cropping and re-sizing images ..."

echo "Installing RVM (Ruby Version Manager) ..."
curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer ; chmod +x rvm-installer ; ./rvm-installer --version latest
echo "\n# RVM\n[[ -s '/Users/`whoami`/.rvm/scripts/rvm' ]] && source '/Users/`whoami`/.rvm/scripts/rvm'" >> ~/.zshrc
source ~/.zshrc

0 comments on commit d40b854

Please sign in to comment.