fix(zshenv): put ~/.local/bin on PATH for every zsh
Non-interactive agent shells (Codex, Claude) skip .zshrc and never saw user-local tools installed via pipx/uv/grok. Add ~/.local/bin in .zshenv with an idempotent guard, and source optional ~/.config/zshenv.local for machine-local early env.
This commit is contained in:
@@ -136,11 +136,8 @@ plugins=(
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Add to PATH to run programs installed with pipx or "pip install --user"
|
||||
# export PATH=$PATH:~/.local/bin
|
||||
|
||||
# To give this path preference instead of system paths to run the latest version of tools, add the following to your personal config. Due to security concerns this is not done by default.
|
||||
# export PATH=~/.local/bin:$PATH
|
||||
# ~/.local/bin is added in ~/.zshenv (every zsh, including non-interactive agents).
|
||||
# Do not re-export it here; keep personal early-env overrides in ~/.config/zshenv.local.
|
||||
|
||||
# export PATH=$PATH:~/.config/ezsh/bin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user