#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" > /etc/shells" fi echo "Brew cleanup" brew linkapps brew cleanup brew prune brew doctor echo "Configuring NVRAM" sudo nvram SystemAudioVolume=%80 DIR="$DIR/../" if [[ -z $CONTINUOUS_INTEGRATION ]]; then echo "Invoking common configuration scripts" DIR="$DIR" $DIR/common/configure_fresh_system.sh fi ln -vfs "$DIR/.gitconfig.mac" ~/.gitconfig