ohmyzsh/plugins/npm/npm.plugin.zsh

8 lines
159 B
Bash
Raw Normal View History

eval "$(npm completion 2>/dev/null)"
# Install and save to dependencies
alias npms="npm i -S "
# Install and save to dev-dependencies
alias npmd="npm i -D "