#!/usr/bin/env bash

if ! which brew &> /dev/null; then
  echo "Installing homebrew"
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

brew update
brew bundle --file=Brewfile
brew bundle --file=Caskfile

# Create personalized system and app defaults
source defaults.sh

# Build the Dock
sh dock.sh

# Update Xcode theme
cp "Monokai Inconsolata.dvtcolortheme" ~/Library/Developer/Xcode/UserData/FontAndColorThemes/

echo "Import Terminal.terminal manually through Preferences > Gear > Import."
read -p "Press return to continue"

#!/usr/bin/env bash

if ! which brew &> /dev/null; then
  echo "Installing homebrew"
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

brew update
brew bundle --file=Brewfile
brew bundle --file=Caskfile

# Create personalized system and app defaults
source defaults.sh

# Build the Dock
sh dock.sh

# Update Xcode theme
mkdir -p ~/Library/Developer/Xcode/UserData/FontAndColorThemes/
cp "Monokai Inconsolata.dvtcolortheme" ~/Library/Developer/Xcode/UserData/FontAndColorThemes/

echo "Import Terminal.terminal manually through Preferences > Gear > Import."
read -p "Press return to continue"

Create theme directory if needed
Create theme directory if needed

In a vanilla Xcode this doesn't exist yet.
