mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00: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 changed files with 6 additions and 0 deletions
|
@ -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 a new issue