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

Add a Readme section for Bazelisk users #17

Open
dzintars opened this issue Jul 3, 2021 · 2 comments
Open

Add a Readme section for Bazelisk users #17

dzintars opened this issue Jul 3, 2021 · 2 comments

Comments

@dzintars
Copy link

dzintars commented Jul 3, 2021

Hi, all. Thank you for this plugin.
Today came across issue that Bazel binary cant be found by this plugin.
That was because i was using plain alias bazel='bazelisk' in my ~/.zshrc.
The fix of this was just a simple sudo ln -s /usr/local/bin/bazelisk /usr/local/bin/bazel. I think this could augment the readme of this plugin pretty well.

@dzintars
Copy link
Author

dzintars commented Jul 3, 2021

Alternative is just to rename bazelisk binary to bazel, but... it's less explicit.

@dbarnett
Copy link
Contributor

dbarnett commented Jul 4, 2021

Yeah, symlink looks like a decent workaround, and the plugin could have an explicit way to configure the path to the bazel executable. Note I recently added 7d81632 for a similar override at command invocation time, but overriding at that level is probably not well-suited to the bazelisk case.

Would you mind suggesting some phrasing of the explanations you'd want to see in the README and/or vim help?

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

No branches or pull requests

2 participants