summaryrefslogtreecommitdiff
path: root/.zsh/zprofile/80_homebrew
blob: 6bae159cdf1e907f0b955fa5da391673fa876b0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# zshenv/80_homebrew
#
# Set variables related to Homebrew
#
# Copyright © 2022 Tobias Klauser <tklauser@distanz.ch>
# Released under the terms of the Artistic Licence 2.0
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git

if [ -d /opt/homebrew ] ; then
  eval "$(/opt/homebrew/bin/brew shellenv)"
else
  eval "$(/usr/local/bin/brew shellenv)"
fi