mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
feat(config): add Chezmoi Re-Add pre-command to capture local dotfile drift
This commit is contained in:
1 parent
33cc8a701e
commit
e0a44b2b63
1 file changed
+5
-1
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user