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_homebrew6
1 files changed, 5 insertions, 1 deletions
diff --git a/.zsh/zprofile/80_homebrew b/.zsh/zprofile/80_homebrew
index 13150f7..6bae159 100644
--- a/.zsh/zprofile/80_homebrew
+++ b/.zsh/zprofile/80_homebrew
@@ -7,4 +7,8 @@
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
-eval "$(/opt/homebrew/bin/brew shellenv)"
+if [ -d /opt/homebrew ] ; then
+ eval "$(/opt/homebrew/bin/brew shellenv)"
+else
+ eval "$(/usr/local/bin/brew shellenv)"
+fi