Ensure node paths are appended to existing $PATH
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
cite about-plugin
|
||||
about-plugin 'Node.js helper functions'
|
||||
|
||||
pathmunge ./node_modules/.bin
|
||||
pathmunge "./node_modules/.bin" "after"
|
||||
|
||||
# Make sure the global npm prefix is on the path
|
||||
[[ `which npm` ]] && pathmunge $(npm config get prefix)/bin
|
||||
[[ `which npm` ]] && pathmunge "$(npm config get prefix)/bin" "after"
|
||||
|
||||
Reference in New Issue
Block a user