Description
Verification
- This issue's title and/or description do not reference a single formula e.g.
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.
Provide a detailed description of the proposed feature
Click is a library for generating tab-completions for CLI tools and it's one of the supported ways of generating shell completions in the Formula API.
Most formulae in homebrew-core only generate Click completions for Zsh and Fish (Code search) and some have an extra comment saying Click does not support bash version older than 4.4
(source), however others like otterdog generate Bash completions as well. Considering the default version of Bash on macOS is 3.2.57, I'm not sure whether it's desirable to generate completions for it by default.
What's the general guidance on generating :click
completions for Bash? If it's desirable I'd be happy to open a PR in homebrew-core and add Bash completions to all the formulae that don't have it enabled yet.
What is the motivation for the feature?
Shell suggestions working for more users.
How will the feature be relevant to at least 90% of Homebrew users?
A lot of users like me use Bash as the default shell and are missing out on shell completions at the moment.
What alternatives to the feature have been considered?
Not enabling the shell suggestions like the current status quo.