Personal dotfiles, managed with chezmoi.
brew install chezmoi
git clone git@github.com:ash211/config.git /Volumes/git/config
mkdir -p ~/.config/chezmoi
printf 'sourceDir = "/Volumes/git/config"\n' > ~/.config/chezmoi/chezmoi.toml
chezmoi diff
chezmoi applychezmoi edit ~/.zshrc # edit the source copy; editing ~/.zshrc directly gets overwritten on apply
chezmoi diff # preview
chezmoi apply -v # write to ~
chezmoi re-add # pull changes made directly in ~ back into the sourceNot checked in here:
~/.zshrc.workand~/.gitconfig.work: work-only additions, managed by a separate chezmoi instance through theworkmoiwrapper in~/.local/bin.~/.zshrcand~/.gitconfigload them when present.~/.zshenv: secrets such as API tokens.
Code/ holds VS Code settings for reference. chezmoi doesn't install them.