# Homebrew, when present (macOS, or linuxbrew). Guarded: the unguarded macOS # path errored on every login shell here. for _b in /opt/homebrew/bin/brew /usr/local/bin/brew /home/linuxbrew/.linuxbrew/bin/brew; do [[ -x $_b ]] && { eval "$("$_b" shellenv)"; break } done unset _b # >>> Codex installer >>> export PATH="$HOME/.local/bin:$PATH" # <<< Codex installer <<< # Folded in from the (dead, ZDOTDIR-bypassed) ~/.zshrc / ~/.zprofile decoys so # these PATH entries survive on the live shell. All guarded on existence, so # they are no-ops on a machine (or a Mac) that lacks them, and version-agnostic # instead of pinning a mise node build that rots on the next upgrade. [[ -d "$HOME/.kimi-code/bin" ]] && export PATH="$HOME/.kimi-code/bin:$PATH" for _n in "$HOME/.local/share/mise/installs/node/"*/bin(/N); do export PATH="$_n:$PATH" done unset _n