fix: move package merge logic into install script template #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "kitty/dotfiles-public:fix/package-merge-in-template"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
.chezmoidata.yaml.tmplwas dead code - chezmoi doesn't support data template files.local/.chezmoidata.local/packages.yamlwere being ignoredrun_onchange_install-packages.sh.tmplwhere it actually executesWhat this fixes
The package customization system now works as intended:
enabledCategoriesmerges packages from optional categoriescustomPackagesadds user-specific packages (brews, casks, npm, uv)Test plan
chezmoi cat ~/.chezmoiscripts/install-packages.shshows merged packages.local/.chezmoidata.local/packages.yamland confirm it appearschezmoi applyand verify packages install correctlyView command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.