setup/zshrc

28 lines
593 B
Bash
Raw Normal View History

2024-05-23 16:39:59 +00:00
# Composer
export PATH="$HOME/.composer/vendor/bin:$PATH"
# Homebrew
export PATH="/usr/local/sbin:$PATH"
# Node.js
## NVM
export NVM_DIR="$HOME/.nvm"
### Load NVM
[ -s "$(brew --prefix)/opt/nvm/nvm.sh" ] && \. "$(brew --prefix)/opt/nvm/nvm.sh"
### Load bash completion
[ -s "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm"
# Python
## pyenv
export PYENV_ROOT="$HOME/.pyenv"
### pyenv setup
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
## pipx
export PATH="$PATH:/~/.local/bin"