Personal dotfiles managed with chezmoi.
chezmoi is a standalone tool written in Go. On macOS, the simplest install is:
brew install chezmoiOther package-manager and binary install options are available in the official docs:
If this repo is already cloned to ~/.dotfiles:
chezmoi init --source="$HOME/.dotfiles"
chezmoi apply --dry-run --verbose
chezmoi applyIf setting up a new machine directly from the hosted repo:
chezmoi init --apply <repo>The repo includes a .chezmoi.toml.tmpl so chezmoi init can create an initial
machine-local config automatically. It sets:
sourceDirto the actual source directory used bychezmoi initmode = "symlink"so regular managed files are symlinked back to the repowork_machinevia an init-time prompt, which is used for machine-specific ignore behavior