Make sure that the npm prefix is in PATH
parent
e9f00c9af9
commit
5c0e1437d4
|
|
@ -3,4 +3,7 @@ about-plugin 'Node.js helper functions'
|
||||||
|
|
||||||
export PATH=./node_modules/.bin:$PATH
|
export PATH=./node_modules/.bin:$PATH
|
||||||
|
|
||||||
|
# Make sure the global npm prefix is on the path
|
||||||
|
[[ `which npm` ]] && export PATH=$(npm config get prefix)/bin:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue