# macOS Environment Variables and PATH

# Homebrew
if [ -x "/opt/homebrew/bin/brew" ]; then
  eval "$(/opt/homebrew/bin/brew shellenv)"
fi

# User Local Bin
export PATH="$HOME/.local/bin:$PATH"

# Go Development
export PATH="$HOME/go/bin:$PATH"

# Bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"

# Node / NPM / pnpm (Fallback if not managed completely by brew/corepack)
export PATH="$HOME/.npm-global/bin:$PATH"

# Oh-My-Posh (Prompt)
if command -v oh-my-posh >/dev/null; then
  eval "$(oh-my-posh init zsh --config $HOME/.config/oh-my-posh/zen.toml)"
fi
