diff --git a/plugins/available/node.plugin.bash b/plugins/available/node.plugin.bash index f0467cef..b012742d 100644 --- a/plugins/available/node.plugin.bash +++ b/plugins/available/node.plugin.bash @@ -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"