diff --git a/zsh/.zshrc b/zsh/.zshrc index 80d1941..eeb5482 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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 diff --git a/zsh/aliases/yarn.zsh b/zsh/aliases/yarn.zsh new file mode 100644 index 0000000..4f725f1 --- /dev/null +++ b/zsh/aliases/yarn.zsh @@ -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'