fix(setup): mirror nvm init into .zshrc so zsh sees node + pnpm #255

Merged
julien merged 1 commits from fix/dev-vm-nvm-zshrc into main 2026-05-29 18:55:31 +02:00

1 Commits

Author SHA1 Message Date
Julien Gautier ef7c1a72b2 fix(setup): mirror nvm init into .zshrc so zsh sees node + pnpm
CI / scan (pull_request) Successful in 4m38s
CI / commits (pull_request) Successful in 4m37s
CI / check (pull_request) Successful in 4m53s
CI / a11y (pull_request) Successful in 3m14s
Docs site / build (pull_request) Successful in 3m20s
CI / perf (pull_request) Successful in 4m49s
On the dev VM, 20-zsh.sh hands off to zsh via an exec in .bashrc
(chsh is blocked on the corp VM), and 40-node.sh's nvm installer only
patches .bashrc. The hand-off execs zsh before the nvm block runs and
.zshrc has no nvm init, so zsh sessions get neither node nor pnpm on
PATH on a fresh clone.

40-node.sh now appends an idempotent nvm-init block to .zshrc after
corepack enable (same marker pattern 20-zsh.sh uses for .bashrc).
Document the .zshrc patch in the bootstrap table.

Already-provisioned VMs: re-run 40-node.sh (marker-safe) or append the
block manually.
2026-05-29 17:06:58 +02:00