From 3d77620ec2eeba5a48df8f55259db68edc6ed9d4 Mon Sep 17 00:00:00 2001 From: Dan Croak Date: Tue, 9 Aug 2011 15:52:07 -0400 Subject: [PATCH] correctly echo newlines into ~/.zshrc --- mac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mac b/mac index 360c253b6..675bbb2f4 100644 --- a/mac +++ b/mac @@ -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)