mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Do not create npmd alias if npmd module present
This commit is contained in:
parent
e55c715508
commit
64d6597de0
1 changed files with 2 additions and 1 deletions
|
|
@ -4,4 +4,5 @@ eval "$(npm completion 2>/dev/null)"
|
|||
alias npms="npm i -S "
|
||||
|
||||
# Install and save to dev-dependencies
|
||||
alias npmd="npm i -D "
|
||||
# Skipped if npmd module installed
|
||||
[[ ! -e $(which npmd) ]] && alias npmd="npm i -D "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue