Apply suggestions from code review

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
This commit is contained in:
Xuehai Pan 2021-08-27 18:22:01 +08:00 committed by GitHub
parent 728efbdf2f
commit 27fb6506a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ homebrew-shellenv() {
if [[ "${HOMEBREW_SHELLENV_PREFIX}" == "${HOMEBREW_PREFIX}" ]]; then
[[ "$(PATH="${HOMEBREW_PATH}" command -v brew)" == "${HOMEBREW_PREFIX}/bin/brew" ]] && return
opoo "You have set HOMEBREW_SHELLENV_PREFIX=\"${HOMEBREW_SHELLENV_PREFIX}\"," \
"but the brew's executable does not present in your PATH." \
"but the brew's executable is not present in your PATH." \
"Please run \`brew help shellenv\` for more information."
fi