dblume commited on 2023-02-15 21:52:19 Showing 1 changed files, with 1 additions and 1 deletions.
@@ -2,7 +2,7 @@
if [ -f "${HOME}/.bashrc" ]; then
if [[ $(uname -s) == Darwin* ]]; then
- eval "$(/opt/homebrew/bin/brew shellenv)"
+ command -v brew >/dev/null 2>&1 && eval "$(brew shellenv)"
fi
source "${HOME}/.bashrc"