Skip to content

Homebrew bash completions not loaded #5956

Answered by gromgit
quantumfrost asked this question in Linux
Discussion options

You must be logged in to vote

Not a bug. You're trying to load two versions of the same completion code, the system one just gets picked first.

Unsetting BASH_COMPLETION_VERSINFO may move you forward, but because the two codebases are likely of different versions, there may be subtle bugs that eventually crop up. After all, the whole point of the BASH_COMPLETION_VERSINFO test is to ensure that the completion code is only loaded once, so the upstream developers aren't really thinking about what can break if multiple codes are loaded, and of different versions besidfes.

So if you absolutely want to load the Homebrew version instead (you did install it, after all), you should probably uninstall your system completion pac…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@quantumfrost
Comment options

Answer selected by quantumfrost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Linux
Labels
None yet
2 participants