diff --git a/.zshrc.local b/.zshrc.local index 6d832bb..22c2269 100644 --- a/.zshrc.local +++ b/.zshrc.local @@ -48,8 +48,11 @@ fi # NVM export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" +NODE_VERSION="v14.17.0" +NODE_PATH="$NVM_DIR/versions/node/$NODE_VERSION" +[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" --no-use [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" +[ -d "$NODE_PATH/bin" ] && export PATH=$NODE_PATH/bin:$PATH # SDKMAN! export SDKMAN_DIR="$HOME/.sdkman"