npm-path module: better warning message

This commit is contained in:
Shahar 2015-07-10 04:58:47 +03:00
commit 1227e7145d

View file

@ -5,7 +5,7 @@ zsh-node_modules-bin-update-path() {
fi
if [[ ! -r $(which npm-path) ]]; then
echo "npm-path must be available for the oh-my-zshell npm-path module to update your PATH"
echo "WARNING: npm-path must be available for the oh-my-zshell npm-path module to update your PATH. Perhaps \`npm --global install npm-path\` will help."
return
fi