Add nvm setup to zshrc

This commit is contained in:
Pavle Portic 2023-07-11 14:32:25 +02:00
parent 656116195d
commit a1a9dbc108
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
1 changed files with 4 additions and 0 deletions

View File

@ -98,5 +98,9 @@ if which pyenv &> /dev/null; then
eval "$(pyenv init -)"
fi
# nvm setup
export NVM_DIR="$HOME/.local/share/nvm"
source /usr/share/nvm/init-nvm.sh
# startx on tty1
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx -- vt1; fi