Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install issues #1

Open
ildella opened this issue Sep 20, 2019 · 1 comment
Open

Install issues #1

ildella opened this issue Sep 20, 2019 · 1 comment

Comments

@ildella
Copy link

ildella commented Sep 20, 2019

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
@ChromeQ
Copy link

ChromeQ commented Aug 8, 2024

The yarn-complete: command not found is due to a typo in the bash script, I find that if you edit line 5 from:

LIST=$(yarn-complete $PWD)

to:

LIST=$(yarn-completion $PWD)

then it works as expected (except for #2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants