25 lines
583 B
Bash
25 lines
583 B
Bash
# CachyOS (Linux) Environment Variables and PATH
|
|
|
|
# User Local Bin
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
|
|
# Go Development
|
|
export PATH="/usr/local/go/bin:$HOME/go/bin:$PATH"
|
|
|
|
# Bun
|
|
export BUN_INSTALL="$HOME/.bun"
|
|
export PATH="$BUN_INSTALL/bin:$PATH"
|
|
|
|
# Node / NPM / pnpm
|
|
export PATH="$HOME/.npm-global/bin:$PATH"
|
|
export PNPM_HOME="$HOME/.local/share/pnpm"
|
|
case ":$PATH:" in
|
|
*":$PNPM_HOME:"*) ;;
|
|
*) export PATH="$PNPM_HOME:$PATH" ;;
|
|
esac
|
|
|
|
# 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
|