Skip to content

Commit

Permalink
correctly echo newlines into ~/.zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Croak committed Aug 9, 2011
1 parent 531645d commit 3d77620
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mac
Expand Up @@ -28,7 +28,9 @@ 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
echo "
# RVM
[[ -s '/Users/`whoami`/.rvm/scripts/rvm' ]] && source '/Users/`whoami`/.rvm/scripts/rvm'" >> ~/.zshrc
source ~/.zshrc

bash < <(curl -s https://raw.github.com/thoughtbot/laptop/master/ruby)

0 comments on commit 3d77620

Please sign in to comment.