Basic steps for a clean install
mkdir ~/github
cd ~/github
git clone https://github.com/othomas1984/mac-os-system-setup
cd mac-os-system-setup
./setup_all.shCalls these in order
- setup_brew.sh
- setup_zsh.sh
- setup_ruby.sh
- Installs Brew
- Runs
brew bundleto install everything in the BrewFile
Note: For cocoapods to work through brew the rbenv shim at ~/.rbenv/shims/pod may need to be removed.
- Sets the default shell to zsh
- Install Oh-My-ZSH
- Installs zsh-completions
- Copies .zshrc to ~/.zshrc.
- Prompts if file already exists, and will save existing one to a new location if one chooses to continue.
- Installs iTerm Shell Integrations
- Instructs the user to manually run
source ~/.zshrcto activate the new config immediately
- Installs the version of Ruby specified in .ruby-version so it is available system wide.
- Does not set this version as the global version, but that can be manually done by calling
rbenv global [version]inserting the version desired.
- Does not set this version as the global version, but that can be manually done by calling