fix(pyenv): preserve shims in login shells
macOS path_helper runs after .zshenv and can move system Python ahead of pyenv. Add an idempotent login hook and preserve it across later easyzsh migrations.
This commit is contained in:
@@ -41,7 +41,9 @@ From a git checkout (shell stubs only):
|
||||
| `~/.config/zshrc/*.zsh` | Personal/tool overlays before oh-my-zsh (interactive) | Left alone |
|
||||
| `~/.local/bin/` | User tools + shims (e.g. `grok` → `~/.grok/bin/grok`) | Left alone |
|
||||
|
||||
easyzsh does **not** manage `~/.zprofile`. Put machine/login hooks in `local.zsh`.
|
||||
Core deploy does not manage `~/.zprofile`. The pyenv add-on appends one login
|
||||
hook so macOS `path_helper` cannot outrank pyenv shims. Put other machine hooks
|
||||
in `local.zsh`.
|
||||
|
||||
Do **not** put `~/.grok/bin` on PATH wholesale.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user