This started out as some "hot tips" but has since evolved into more of a guide for myself that I run through whenever I get a new machine.
Last updated for macOS 12
- Firewall > turn on (esp if you're working in cafes or airports etc.)
defaults write com.apple.AdLib allowApplePersonalizedAdvertising 0
(turn off personalized apple ads)
- Touch Bar Shows > Expanded Control Strip
- Modifier Keys... > Use Caps Lock as Escape
- Install homebrew
brew install --cask spotify
brew tap homebrew/cask-versions
brew install --cask firefox-developer-edition
- Change default browser in sys preferences
- Add an SSH key
brew install gpg
- Add a GPG key
mkdir ~/Developer && cd ~/Developer
git clone git@github.com:dctalbot/dotfiles.git
cp dotfiles/.gitconfig ~
git config --global user.signingkey <gpg key here>
git config --global user.email <gpg email here>
git config --global --list
brew install --cask iterm2
brew install tmux
ln dotfiles/.tmux.conf ~/.tmux.conf
Potentially use the iTerm GUI to import iterm/profile.json
. The only thing custom is the Working Directory attribute e.g. mine is /Users/dctalbot
For some reason, iterm wants access to Contacts. Block this under sys preferences > security & privacy > privacy > contacts
- Install oh-my-zsh
- Clone p10k oh-my-zsh installation https://github.com/romkatv/powerlevel10k#oh-my-zsh
ln dotfiles/.zshrc ~/.zshrc # zsh config
ln dotfiles/.zprofile ~/.zprofile # zsh config
You may have to explicitly trust oh-my-zsh:
compaudit | xargs chmod g-w,o-w
brew install --cask visual-studio-code
- Sign into settings sync
- Restart
code --list-extensions
dbaeumer.vscode-eslint
dsznajder.es7-react-js-snippets
eamodio.gitlens
esbenp.prettier-vscode
GitHub.copilot
golang.go
GraphQL.vscode-graphql
hediet.vscode-drawio
mechatroner.rainbow-csv
ms-azuretools.vscode-docker
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-vscode-remote.remote-containers
redhat.vscode-yaml
svelte.svelte-vscode
tht13.html-preview-vscode
tommorris.mako
vayan.haml
whizkydee.material-palenight-theme
brew install nvm
brew install pyenv
alias cal-remind-on="echo '0,30 9-17 * * 1-5 open -a Calendar' | crontab"
alias cal-remind-off="crontab -l | grep -v 'Calendar' | crontab"