Skip to content
Snippets Groups Projects
Unverified Commit c296c5f2 authored by Andy Lester's avatar Andy Lester Committed by GitHub
Browse files

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`.
parent 6c2b9ffd
No related branches found
Tags 1.1.5
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment