Yarn completions for Z-shell that supports yarn workspaces
Yarn completions for Z-shell that supports
yarn workspaces
add
recommends packages from cacheremove
| upgrade
| upgrade-interactive
recommends packages from package.jsonglobal
completionZ-shell
antigen bundle chrisands/zsh-yarn-completions
zplug "chrisands/zsh-yarn-completions", defer:2
Clone zsh-yarn-completion into your custom plugins repo
git clone https://github.com/chrisands/zsh-yarn-completions ~/.oh-my-zsh/custom/plugins/zsh-yarn-completions
Then load as a plugin in your .zshrc
plugins+=(zsh-yarn-completions)
Clone this repository somewhere (~/.zsh-yarn-completion for example)
git clone https://github.com/chrisands/zsh-yarn-completions.git ~/.zsh-yarn-completions
Then source it in your .zshrc
source ~/.zsh-yarn-completions/zsh-yarn-completions.plugin.zsh
Alias | Command |
---|---|
y |
yarn |
yi |
yarn install |
ya |
yarn add |
yad |
yarn add -D |
yga |
yarn global add |
yr |
yarn remove |
ygr |
yarn global remove |
yl |
yarn link |
yu |
yarn unlink |
yw |
yarn workspace |
ywi |
yarn workspaces info |
config
set
| get
suggest config keys (?)add
find faster way to fetch from cachejq
with native toolsAny contribution are welcome!
zsh-better-npm-completion — used few function from project and helped understand how to write proper autocompletion system for zsh.