A yarn aliases plugin for zsh
I recommend using Znap or installing the plugin manually. You can also install it using any 3rd-party framework or plugin manager you like, but I won't document that here.
Just add this to your .zshrc file:
znap source eckertalex/yarn.plugin.zsh
To update, run znap pull
.
-
Clone the repository:
git clone --depth=1 https://github.com/eckertalex/yarn.plugin.zsh.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/yarn
-
Include it in your
~/.zshrc
plugins=(... yarn)
Alias | Command |
---|---|
y |
yarn |
Alias | Command |
---|---|
yi |
yarn install |
yl |
yarn list |
yout |
yarn outdated |
ya |
yarn add |
yad |
yarn add --dev |
yrm |
yarn remove |
Alias | Command |
---|---|
yst |
yarn start |
yd |
yarn dev |
yb |
yarn build |
ylt |
yarn lint |
Alias | Command |
---|---|
yt |
yarn test |
ytc |
yarn test --coverage |
- Initial commit