Zsh 下的 yarn 命令自动补全插件

1,569 阅读1分钟
原文链接: github.com

Travis license Github Releases

Installation

Download

Please go to the GitHub releases page and download the latest binary files.

Note that you should choose correct file according to your OS.

Add as a Zsh plugin

Please run:

$ mkdir $ZSH_CUSTOM/plugins/yarn-autocompletions

Unzip the compressed file you downloaded before and put files to the directory you created before.

Next please edit your .zshrc file. Add yarn-autocompletions to plugins section.

Like this:

plugins=(
  # ... your other plugins
+ yarn-autocompletions
)

Restart your terminal.

Contribution

Any contributions are welcome.

License

MIT License

Copyright (c) 2018-present Pig Fang