mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
npm-path module: better warning message
This commit is contained in:
parent
9157b7c7de
commit
1227e7145d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue