36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Load seperated config files
|
|
for conf in "$HOME/.config/zsh/config.d/"*.zsh; do
|
|
source "${conf}"
|
|
done
|
|
unset conf
|
|
|
|
# mostly just adding stuff to $PATH now
|
|
|
|
# User program: add node version manager
|
|
export NVM_DIR="$HOME/.nvm"
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
|
|
# User program: add ~/.local/bin/*
|
|
export PATH="$PATH:$HOME/.local/bin"
|
|
|
|
# User program: add dart sass
|
|
export PATH="$PATH:$HOME/.local/bin/dart-sass"
|
|
|
|
# User program: add yarn
|
|
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
|
|
|
# User program: add rbenv
|
|
[ -d "$HOME/.rbenv/bin" ] && eval "$(~/.rbenv/bin/rbenv init - zsh)"
|
|
|
|
# User program: add installed go binaries from $GOBIN or $GOPATH/bin
|
|
type go &>/dev/null && export PATH="$PATH:${"$(go env GOBIN)":-"$(go env GOPATH)/bin"}"
|
|
|
|
# User program: pnpm
|
|
# pnpm
|
|
export PNPM_HOME="/home/erin/.local/share/pnpm"
|
|
case ":$PATH:" in
|
|
*":$PNPM_HOME:"*) ;;
|
|
*) export PATH="$PNPM_HOME:$PATH" ;;
|
|
esac
|
|
# pnpm end
|