Make sure that the npm prefix is in PATH
parent
a0a9b1e716
commit
018c62c6c5
|
|
@ -3,4 +3,7 @@ about-plugin 'Node.js helper functions'
|
|||
|
||||
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