TIL: `brew bundle` and Homebrew Casks replaced my bespoke scripts

Several years ago I tried to automate my new computer setup so that I could configure a new work laptop or home computer the way I like it easily. It went something like this: Put a list of Homebrew formula in a file. Write a script to loop over those and run brew install for each of them. Keep a list of apps like 1Password, Sublime Text, VS Code. Download and install those. The last time I…