Update ZSH profile

This commit is contained in:
Phillip 2024-09-21 10:27:22 +01:00
parent 798c4e74b0
commit ac904f6437

31
zshrc
View File

@ -110,4 +110,33 @@ PROMPT+='$(_git_info)'
# Move to new line
PROMPT+='${NEWLINE}'
# Start second line
PROMPT+=' > '
PROMPT+=' > '
# 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"