diff --git a/dot_config/topgrade.toml b/dot_config/topgrade.toml index 8a2b211..95b5c0e 100644 --- a/dot_config/topgrade.toml +++ b/dot_config/topgrade.toml @@ -82,7 +82,11 @@ upgrade = false [pre_commands] # "Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak" -"Dotstate Sync" = "dotstate sync" +# Capture local drift in managed dotfiles back into the chezmoi source repo +# before anything upgrades. Note: only re-adds *managed* files; brand-new +# configs still need a manual `chezmoi add`. Review/commit in +# ~/.local/share/chezmoi afterwards. +"Chezmoi Re-Add" = "chezmoi re-add" "GHQ Update" = "ghq list | ghq get -u -s"