yarn-completion
Shell autocompletion for Yarn
Installation
- Download the completion file to your machine.
$ curl -o ~/.yarn-completion https://raw.githubusercontent.com/dsifford/yarn-completion/master/yarn-completion.bash
- Source the file in your shell
rc
file.
bash
$ echo -e '\n. ~/.yarn-completion' >> ~/.bashrc
zsh
: Official zsh completions can be found in the zsh-completions repository.
Installation on OSX with Homebrew
$ brew install bash-completion
$ curl -L https://raw.githubusercontent.com/dsifford/yarn-completion/master/yarn-completion.bash > `brew --prefix`/etc/bash_completion.d/yarn
Restart Terminal
Is your shell missing?
Open an issue with your shell and I'll do my best to try and make it happen.
License
MIT