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

Installation issue #8

Closed
mklabs opened this issue Feb 7, 2017 · 3 comments
Closed

Installation issue #8

mklabs opened this issue Feb 7, 2017 · 3 comments

Comments

@mklabs
Copy link
Owner

mklabs commented Feb 7, 2017

Hi @Matmo10

I thought about adding an issue here to maybe help you get yarn-completions work on your system. I hope you'll get this notification :)

Based on that comment: yarnpkg/yarn#609 (comment)

I installed yarn-completions - didn't work. Realized it's actually some kind of plugin for tabtab, so I installed that. Still doesn't work. Re-sourced my bash profile. Still doesn't work. Is there really more configuration required?

How did you install yarn-completions ? You don't need to install tabtab separately, this is included in yarn-completions itself.

Normally, you just need to install yarn-completions with npm globally.

npm install yarn-completions -g

What do you use for your shell ? Bash, zsh or fish ? If you use bash, you should see a line specific to tabtab, at the end of your ~/.bashrc, that loads a shell specific script for your system and enable the completion mechanism for the command yarn.

@Matmo10
Copy link

Matmo10 commented Feb 7, 2017

You are too kind :)

Ok, I realized the problem is I use .bash_profile for my bash config instead of .bashrc, so I sourced .bashrc from my .bash_profile:

if [ -f ~/.bashrc ]; then
  . ~/.bashrc
fi

And now it works. Thanks, we can close this now! :)

@mklabs
Copy link
Owner Author

mklabs commented Feb 8, 2017

Great :)

@wavded
Copy link

wavded commented Apr 14, 2017

@Matmo10 thanks! I had the exact same problem with bash_profile.

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

3 participants