mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Add quotes around the brew invocation
This commit is contained in:
parent
c296c5f2d3
commit
953a1bf20b
@ -12,7 +12,7 @@ To make Homebrew's completions available in `bash`, you must source the definiti
|
||||
|
||||
```sh
|
||||
if type brew &>/dev/null; then
|
||||
HOMEBREW_PREFIX=$(brew --prefix)
|
||||
HOMEBREW_PREFIX="$(brew --prefix)"
|
||||
if [[ -r "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" ]]; then
|
||||
source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user