#!/usr/bin/env bash

# Create a folder to hold all the solarized color schemes
mkdir -p ${SOLARIZED:=$HOME/.solarized}

# Download solarized color schemes
git clone git@github.com:tomislav/osx-terminal.app-colors-solarized.git \
  $SOLARIZED/osx-terminal.app-colors-solarized

git clone git@github.com:seebi/dircolors-solarized.git \
  $SOLARIZED/dircolors-solarized

# Install brew formulaes
./system/macOS/brew.sh

# symlink it up!
./system/macOS/symlink_setup.sh

# Compile ZSH-related files for faster autoloading
zcompile $HOME/.zshrc
zcompile $HOME/.zshenv
zcompile $HOME/.zprofile

# Install vim plugin manager
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

# Install vim plugins
vim +PlugInstall +qall

# Set user preferences
./system/macOS/defaults.sh

#!/usr/bin/env bash

# Create a folder to hold all the solarized color schemes
mkdir -p ${SOLARIZED:=$HOME/.solarized}

# Download solarized color schemes
git clone git@github.com:tomislav/osx-terminal.app-colors-solarized.git \
  $SOLARIZED/osx-terminal.app-colors-solarized

git clone git@github.com:seebi/dircolors-solarized.git \
  $SOLARIZED/dircolors-solarized

# Install brew formulaes
./system/macOS/brew.sh

# symlink it up!
./system/macOS/symlink_setup.sh

# Compile ZSH-related files for faster autoloading
zcompile $HOME/.zshrc
zcompile $HOME/.zshenv
zcompile $HOME/.zprofile

# Make ZSH the default shell
chsh -s $(which zsh)

# Install vim plugin manager
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

# Install vim plugins
vim +PlugInstall +qall

# Set user preferences
./system/macOS/defaults.sh

Make ZSH the default shell
Make ZSH the default shell
