- Ensure your machine is running (at least) OSX Catalina
- Run
bash <(curl -s https://raw.githubusercontent.com/javatarz/mac-setup/main/bootstrap.sh)
- Log out and back in to apply OSX changes (can be done at the end)
- Login to the App Store in the background (before mac apps get installed)
- Restore the list of Manual Items (below)
- Run
mkdir -p ~/projects/personal && cd ~/projects/personal && git clone [email protected]:javatarz/mac-setup.git && cd mac-setup && ./install.sh
to move shell configurations to a more permanent path. Restart shell to apply changes - Log out and back in to apply OSX changes (can be ignored if it hasn't been already done)
rm -f brew/Brewfile && brew bundle dump --file=brew/Brewfile
Once you have fish setup, the function brewfile
will do the above command for you.
Setup the aliases
alias bef="rm -f before after && defaults read > before" && alias aft="defaults read > after && code --diff before after"
In a directory with write privileges, run bef
, make the changes you wish to record and then run aft
. The console will output the differences.
Open Preferences > General > Preferences
and set the config path to <base-path>/mac-setup/iterm2
Make changes via the iterm2 UI and commit the file.
Open Preferences > Advanced > Set Preferences Folder
and set the config path to <base-path>/mac-setup/alfred
Make changes via the Alfred UI and commit the file.
Update the menu structure as required
- ~/.ssh
- ~/.gnupg
- ~/.config/fish/conf.d/secrets.fish
- iStat Menus - Menu configurations import
- OSX
- Spotlight shortcut (currently done by Bartender)
- Secrets management
- Automate mac-setup checkout process