summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Newson <jon_newson@ieee.org>2016-03-09 11:11:48 +1100
committerJon Newson <jon_newson@ieee.org>2016-03-09 11:11:48 +1100
commit9823b6b2fb91dace52502d5204d7d97983336d17 (patch)
tree99f4eadec5b18dfc91ac9e05a9312737209a9327
parente6e79cefde68d86e20d700d5d1ddcba1683ce904 (diff)
parent739e5df4094e4965241762bc3579d3ad6cebe0ce (diff)
Merge branch 'osx-test'
* osx-test: #624 - Modify changes and apply suggested style. Get current running shell and determine .rc file accordingly.
-rw-r--r--[-rwxr-xr-x]osx_setup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/osx_setup.sh b/osx_setup.sh
index d78e8f0e..f899b227 100755..100644
--- a/osx_setup.sh
+++ b/osx_setup.sh
@@ -21,7 +21,7 @@ function current_shell {
/bin/sh)
echo ~/.profile
;;
-
+
*)
echo "Your shell isn't supported yet!"
;;
@@ -39,6 +39,8 @@ function install_compass {
export PATH=$PATH:~/.rbenv/versions/2.2.3/bin
echo "export PATH=$PATH:~/.rbenv/versions/2.2.3/bin" >> $(current_shell)
echo 'eval "$(rbenv init -)"' >> $(current_shell)
+ echo "export PATH=$PATH:~/.rbenv/versions/2.2.3/bin" >> $(current_shell)
+ echo 'eval "$(rbenv init -)"' >> $(current_shell)
}
function install_rbenv {