Add quotes around the brew invocation

This commit is contained in:
Andy Lester 2019-10-11 08:51:43 -05:00
parent c296c5f2d3
commit 953a1bf20b

View File

@ -12,7 +12,7 @@ To make Homebrew's completions available in `bash`, you must source the definiti
```sh ```sh
if type brew &>/dev/null; then 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 if [[ -r "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" ]]; then
source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh"
else else