Skip to content

Commit

Permalink
make use ./node_modules/.bin to make it dynamic in PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
xywang68 committed Oct 7, 2018
1 parent 3592987 commit f47049e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lubuntu/user_setUserEnv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ if [ -d "\$HOME/.nvm" ] ; then
nvm use --delete-prefix \$NODE_VERSION
fi
# set NPM path
if [ -d "\$HOME/node_modules/.bin" ] ; then
PATH="\$HOME/node_modules/.bin:\$PATH"
fi
PATH="\$PATH:./node_modules/.bin"
# set NPM
# npm config --global set proxy \$http_proxy
Expand Down

0 comments on commit f47049e

Please sign in to comment.