ohmyzsh/plugins/npm/npm.plugin.zsh
2014-10-22 18:13:38 +02:00

4 lines
197 B
Bash

# 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"
}