fix(rebuild): rotate herdr config.toml backup as a file target
~/.config/herdr moved from a whole-directory home.file target to a file target, so rebuild.sh must follow. Treat ~/.config/herdr/config.toml as a managed file backup target and stop listing ~/.config/herdr as a directory target, otherwise a real config.toml backed up to config.toml.backup would fail the next switch with "would be clobbered".
This commit is contained in:
1 parent
1eb147f3d3
commit
b0d7087a46
1 file changed
+1
-1
+1
-1
@@ -40,6 +40,7 @@ managed=(
|
||||
"$HOME/.claude/CLAUDE.md"
|
||||
"$HOME/.codex/AGENTS.md"
|
||||
"$HOME/.codex/luna.config.toml"
|
||||
"$HOME/.config/herdr/config.toml"
|
||||
"$HOME/.config/opencode/AGENTS.md"
|
||||
"$HOME/.config/opencode/opencode.json"
|
||||
"$HOME/.config/opencode2/opencode.json"
|
||||
@@ -62,7 +63,6 @@ done
|
||||
for path in \
|
||||
"$HOME/.config/wezterm" \
|
||||
"$HOME/.config/nvim" \
|
||||
"$HOME/.config/herdr" \
|
||||
"$HOME/.config/opencode/skills" \
|
||||
"$HOME/.pi/agent/themes" \
|
||||
"$HOME/.pi/agent/extensions/calm"
|
||||
|
||||
Reference in new issue
Block a user