This commit is contained in:
Marc Cornellà 2014-11-06 17:42:28 +00:00
commit 33edfb4c76

View file

@ -1 +1,4 @@
eval "$(npm completion 2>/dev/null)"
# If NPM is not found don't silently fail.
(( $+commands[npm] )) && eval "$(npm completion 2>/dev/null)" || {
echo "oh-my-zsh (npm plugin): npm not found. Make sure you have it in your \$PATH"
}