🔗 Adds aliases for yarn

This commit is contained in:
Alicia Sykes 2022-03-18 20:36:53 +00:00
parent 0b2230b468
commit aad06758f8
2 changed files with 11 additions and 1 deletions

View File

@ -6,8 +6,9 @@ zsh_dir=${${ZDOTDIR}:-$HOME/.config/zsh}
[[ $- != *i* ]] && return
# Import alias files
source ${zsh_dir}/aliases/git.zsh
source ${zsh_dir}/aliases/general.zsh
source ${zsh_dir}/aliases/git.zsh
source ${zsh_dir}/aliases/yarn.zsh
# Setup Antigen bundle manager
source ${zsh_dir}/helpers/setup-antigen.zsh

9
zsh/aliases/yarn.zsh Normal file
View File

@ -0,0 +1,9 @@
# Aliases for projects with a package.json
alias ys='yarn start'
alias yt='yarn test'
alias yb='yarn build'
alias yl='yarn lint'
alias yd='yarn dev'
alias yi='yarn install'
alias yr='yarn run'