export NODE_PATH on nvm use
parent
bc4c5644f5
commit
4d2faba9af
1
nvm.sh
1
nvm.sh
|
@ -421,6 +421,7 @@ nvm() {
|
||||||
export MANPATH
|
export MANPATH
|
||||||
export NVM_PATH="$NVM_DIR/$VERSION/lib/node"
|
export NVM_PATH="$NVM_DIR/$VERSION/lib/node"
|
||||||
export NVM_BIN="$NVM_DIR/$VERSION/bin"
|
export NVM_BIN="$NVM_DIR/$VERSION/bin"
|
||||||
|
export NODE_PATH="$NVM_DIR/$VERSION/lib/node_modules"
|
||||||
echo "Now using node $VERSION"
|
echo "Now using node $VERSION"
|
||||||
;;
|
;;
|
||||||
"run" )
|
"run" )
|
||||||
|
|
Loading…
Reference in New Issue