You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`bin/run-clean-env` resets environment variables to a minimal set, configuring only Homebrew and system paths. This allows running chezmoi and brew without interference from existing shell configurations.
71
+
`bin/cz` is a wrapper script that runs chezmoi in a clean environment. It uses `env -i` to reset all environment variables and launches bash with `--noprofile --norc`, then configures only essential paths:
72
+
- System paths via `/usr/libexec/path_helper`
73
+
- Homebrew environment (`/opt/homebrew`)
74
+
75
+
This prevents interference from existing shell configurations when applying dotfiles, ensuring consistent and reproducible deployments.
0 commit comments