romainberger / yarn-completion

Autocomplete for your projects scripts with yarn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install issues

ildella opened this issue · comments

Hi. first, greatly appreciate is the only actual yarn completion that works :)

But to install on my Ubuntu box, "yarn add global" does not work, I had to do it with "npm i -g".
With yarn, I get a "yarn-completion command not found".

Also a better way to add bash completion is put the file in /etc/bash_completion.d
That will not require to edit the .bashrc, which I find a cleaner solution.

So for me it is:

wget https://github.com/romainberger/yarn-completion/blob/master/yarn-completion.bash
sudo move yarn-completion.bash /etc/bash_completion.d/
npm i -g yarn-completion