dotfiles/home/.chezmoiscripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felipe M. 525b4525c1
Put Laugh-Tale in the coding group and give it a brew section
The coding group was arch-only, so the Mac could not join it: the shared
groups describe packages by Arch name and a brew host draws nothing from
them. Adding the brew section makes coding the first genuinely
cross-platform shared group, and Laugh-Tale now takes emacs, ghostty, zed
and uv from it. Those four leave the host baseline in the same commit --
left in both, metapac warns about the duplicate, and the baseline is a
holding pen rather than a destination.

Claude Code is the one package that cannot come from brew here. The cask
ships 2.1.236 against the native installer's 2.1.248, both claim `claude`
on PATH, and the native copy updates itself, so adopting the cask means a
downgrade plus two updaters fighting over one binary. Arch has a real
distro package and no such conflict, so coding.toml keeps declaring it
there and a darwin-only chezmoi script covers macOS. The script gates on
the binary being absent, not on a hostname, so a new Mac needs no entry
anywhere to get it.

Verified: `chezmoi apply` scoped to ~/.config/metapac renders coding into
this host's group list; `metapac unmanaged` reports no unmanaged packages
and no duplicate warnings; `metapac sync` installed t3-code 0.0.35 and
left the four moved packages in place. The script renders with its shebang
first on darwin, renders to zero bytes elsewhere, exits 0 silently when
claude is present, and reaches the installer when it is not.

Claude-Session: https://claude.ai/code/session_01BvpSVPsLrUK4N53LVTofR8
2026-08-30 09:08:50 +02:00
..
run_onchange_install-claude-code.sh.tmpl Put Laugh-Tale in the coding group and give it a brew section 2026-08-30 09:08:50 +02:00