Expert assistant for chezmoi dotfiles management. Use when: "add this file to chezmoi", "make this a template", "encrypt this secret", "apply on a new machine", "run script only once", "manage dotfiles across machines". Examples: - user: "Track my .zshrc with chezmoi" → chezmoi add ~/.zshrc - user: "Make my .gitconfig machine-specific" → convert to .tmpl, use {{ .chezmoi.hostname }} - user: "Run a script only on first apply" → once_ prefix - user: "Sync to a new laptop" → chezmoi init --apply $GITHUB_USERNAME - user: "Why isn't my file being applied?" → diagnose source attribute, diff, doctor
96
96%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
I just got a new MacBook. I have my dotfiles in a GitHub repo at github.com/alice/dotfiles. Walk me through setting up chezmoi from scratch.
brew install chezmoi or sh -c "$(curl -fsLS get.chezmoi.io)")chezmoi init --apply alice to clone the repo and apply all dotfiles in one step~/.local/share/chezmoi and runs chezmoi apply automaticallyrun_once_), explain they will execute during this stepchezmoi doctor to verify the environment after setupchezmoi init --apply $GITHUB_USERNAME (single command bootstrap)run_once_ scripts execute during applychezmoi doctor for post-setup verificationgit clone before running chezmoigit clone then chezmoi apply separately when init --apply covers both