I use an Ansible playbook to automate my Mac setup. Mapping back to this repo is done here. The same mac-dev-playbook clones this repo and sets up the dotfiles symlinks, so read the README.
Target machines must remember to manually git push/pull to keep this repo and dotfiles across machines up-to-date.
Important: This dotfiles repository contains a .zshrc.local file which is included in the .gitignore. Please remember to back up this file individually to Google Drive or Dropbox to avoid losing any personal configurations.
Please remember to manually setup symlink:
ln -s $PWD/vscode/settings.json /Users/$USER/Library/Application\ Support/Code/User/settings.jsonPotential issues to watch out for include:
- Machine-specific settings: Some settings in your VS Code config might be machine-specific (paths, credentials, local extensions, or theme preferences you only want on one machine). You'll need to decide how to handle these - either keep them separate or use VS Code's multi-machine settings feature.
- VS Code updates: Occasionally VS Code updates might modify settings.json, which could create merge conflicts or unexpected behavior if you're not careful.
SSH keys I may want to reuse are kept in Dropbox, not here. For copying them over, see geerlingguy's notes - full-mac-setup's SSH setup.