Managed with chezmoi. Source state lives in home/
(see .chezmoiroot). Files that apps rewrite are symlinked from linked/.
Details: AGENTS.md.
- Install Homebrew, then chezmoi, and clone this repo:
brew install chezmoi git clone git@github.com:yaychris/dotfiles.git ~/code/dotfiles - Set up chezmoi and apply the dotfiles. This also installs the
Brewfile.chezmoi init --source ~/code/dotfiles # prompts: machine type, name, email, GPG key chezmoi diff # review chezmoi apply
- Apply macOS settings (Dock, Finder, keyboard shortcuts, Colemak, trackpad…):
~/code/dotfiles/setup/macos-defaults.sh - In Mission Control, create desktops until there are 4.
- Assign apps to desktops:
~/code/dotfiles/setup/space-bindings.sh - Log out and back in, so the input source, dark mode, and trackpad settings take full effect.
The setup/ scripts are never run automatically. They're safe to re-run, e.g.
after adding a setting.
chezmoi status # anything drifted?
chezmoi edit ~/.foo # edit source for a target (or edit home/… directly)
chezmoi diff && chezmoi apply
chezmoi re-add ~/.foo # pull a live edit back into the repo