This is my workstation setup script. There are many like it, but this one is mine.
To set up a new workstation, clone this repo and then run
./bootstrap.sh
./install.sh
To update a workstation, run
./install.sh
Anything that should be run once and only once goes in the ./bootstrap.sh script. Right now, this is just the oh-my-zsh set up and brew itself.
Everything else goes in install.sh or the Brewfile. install.sh runs brew bundle and then any additional setup.
When updating ./install.sh script, I use a test && commit || revert workflow.
./install.sh && git add -p || git reset --hard