dotfiles/zsh/.zshrc
2023-07-12 00:55:25 -04:00

29 lines
877 B
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 1password SSH utils
export PATH="$HOME/.1password-ssh-utils/bin:$PATH"
alias ssh="op-ssh-fetch -n && ssh"
# User program: add rbenv
[ -s "~/.rbenv/bin/rbenv" ] && eval "$(~/.rbenv/bin/rbenv init - zsh)"