Use .nvm if present

This commit is contained in:
Peter J. Holzer 2023-08-08 15:51:24 +02:00 committed by Peter J. Holzer
parent 434ed84750
commit 3decf70778
1 changed files with 7 additions and 0 deletions

7
.zshrc
View File

@ -152,3 +152,10 @@ fi
# for new style completion:
autoload -U compinit
compinit
# NVM
if [ -d "$HOME/.nvm" ]
then
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
fi