Add some aliases to the yarn plugin

This commit is contained in:
Tejas Bubane 2016-12-22 23:31:47 +05:30
parent 97c0384169
commit ef8c17ba3b
No known key found for this signature in database
GPG Key ID: 90504B190EC86A5F

View File

@ -79,3 +79,14 @@ _yarn ()
} }
compdef _yarn yarn compdef _yarn yarn
# Aliases
# https://yarnpkg.com/en/docs/cli/
alias ya="yarn add"
alias yad="yarn add --dev"
alias yins="yarn install"
alias yls="yarn ls"
alias yrm="yarn rm"
alias yrun="yarn run"
alias yt="yarn test"
alias yup="yarn upgrade"