mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 19:06:15 +08:00
Merge pull request #3577 from jameswomack/npm_convenience_aliases
Add convenience aliases for installation of npm modules
This commit is contained in:
commit
2f23f33067
|
@ -1 +1,7 @@
|
||||||
eval "$(npm completion 2>/dev/null)"
|
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 "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user