mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 19:04:22 +08:00
Add convenience aliases for installation of npm modules
This commit is contained in:
1 parent
550ccca91c
commit
6967393fe6
1 file changed
+6
@@ -1 +1,7 @@
|
||||
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 "
|
||||
Reference in new issue
Block a user