summaryrefslogtreecommitdiff
path: root/osx_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'osx_setup.sh')
-rwxr-xr-xosx_setup.sh25
1 files changed, 15 insertions, 10 deletions
diff --git a/osx_setup.sh b/osx_setup.sh
index 2103d765..c58270c7 100755
--- a/osx_setup.sh
+++ b/osx_setup.sh
@@ -3,23 +3,28 @@
# Test to make sure we are OSX
if [ $(uname) != 'Darwin' ]
then
- echo "This script should run only on an OSX system!"
- exit 1
+ echo "This script should run only on an OSX system!"
+ exit 1
fi
# Read the shell configured for the user and set the variable file accordingly
function current_shell {
- case $SHELL in
- *bash)
- echo ~/.bash_profile
- ;;
+ case $SHELL in
+ *bash)
+ echo ~/.bash_profile
+ ;;
- *zsh)
- echo ~/.zshrc
- ;;
+ *zsh)
+ echo ~/.zprofile
+ ;;
+
+ /bin/sh
+ echo ~/.profile
+ ;;
+
#Other shells can go here
- esac
+ esac
}
function install_compass {