summaryrefslogtreecommitdiff
path: root/.zsh/zprofile/80_homebrew
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/zprofile/80_homebrew')
-rw-r--r--.zsh/zprofile/80_homebrew4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zsh/zprofile/80_homebrew b/.zsh/zprofile/80_homebrew
index 6bae159..ca10df3 100644
--- a/.zsh/zprofile/80_homebrew
+++ b/.zsh/zprofile/80_homebrew
@@ -7,8 +7,8 @@
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
-if [ -d /opt/homebrew ] ; then
+if [ -d /opt/homebrew ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
-else
+elif [ -x /usr/local/bin/brew ]; then
eval "$(/usr/local/bin/brew shellenv)"
fi