My dotfiles, managed with chezmoi. Starts with Claude Code config; more to come.
Mac / Linux:
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply ryanmagoonWindows:
winget install twpayne.chezmoi
chezmoi init --apply ryanmagoonPreview before applying on a new box:
chezmoi diff # what would change in $HOME
chezmoi apply --dry-run -v # simulate
chezmoi apply # goSee AGENTS.md for repo structure and conventions.
The zsh config (dot_zshrc, dot_zshenv) sources an optional overlay from
~/.config/zsh/overlay/{zshenv,zshrc}.zsh for machine-specific setup that does
not belong in a public repo. To have chezmoi clone and keep it updated, set the
repo URL in the machine's local chezmoi config (never committed here):
# ~/.config/chezmoi/chezmoi.toml
[data]
zshOverlayRepo = "https://github.com/<owner>/<private-repo>.git"chezmoi update then pulls both repos (the overlay at most daily; add
--refresh-externals to force it). Edit overlay files in place and commit from
~/.config/zsh/overlay.