[bazel.build] Problem with /install/completion
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 72
Description
The instructions (https://bazel.build/install/completion) do not mention how to set up bazel completion if bazel was installed with bazelisk.
I run linux (Ubuntu) and I install bazelisk doing
`brew install bazelisk `
This works and bazel is installed. However, bash completion does not work, and the bash_completion file inside the brew directory is not a file, but a directory:
```
$(brew --prefix)/etc/bash_completion.d
/home/linuxbrew/.linuxbrew/etc/bash_completion.d: Is a directory
```
How do I get completions to work?
Contributor guide
Research direction
Start with the bazel.build /install/completion page and reproduce the bash completion setup after `brew install bazelisk` on Ubuntu. Update the instructions to cover the Bazelisk and Homebrew case, including the bash_completion.d directory, and verify that Bash completion works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, ubuntu
- Domain
- cli, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100