Sync dotfiles and Claude Code configuration changes back to the dotfiles repository.
Syncs Claude Code and dotfiles configuration changes back to your chezmoi repository, then commits and pushes the updates. Use this after making local config changes to preserve them in your dotfiles backup.
/plugin marketplace add patrick-motard/claude-plugins-public/plugin install pm@pm-publicSync dotfiles and Claude Code configuration changes back to the dotfiles repository.
Steps:
Sync changes to chezmoi source:
Important: Use --autotemplate ONLY for files that are already templates (.tmpl) in chezmoi source. Otherwise chezmoi will prompt interactively and fail.
Claude files (NOT templates):
chezmoi add ~/.claude/CLAUDE.md
System config files (ARE templates - use --autotemplate):
chezmoi add --autotemplate ~/.zsh/.zshrc ~/.zsh/.zprofile ~/.zsh/.zshenv ~/.zsh/aliases.zsh
Other files (check if templated first):
.tmpl exists in ~/.local/share/chezmoi/: use --autotemplate.tmpl: use plain chezmoi addNavigate to the chezmoi source directory (~/.local/share/chezmoi)
Use the /pm:git-push skill to commit and push any changes