-
- Downloads
bash completion should not call brew if brew doesn't exist
In the section "Configuring Completions in `bash`", there's a line of code that sets `HOMEBREW_PREFIX` by calling `brew --prefix`, but it's done before calling `type brew` to see if brew exists. This gives a "-bash: brew: command not found" if you don't have brew installed. That line should be moved inside the `if`.
Loading
Please register or sign in to comment