Ensure node paths are appended to existing $PATH

pull/1404/head
Brandon Waskiewicz 2019-07-29 14:07:34 -04:00
parent ca2e3edb97
commit 9735ad7b5c
1 changed files with 2 additions and 2 deletions

View File

@ -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"