summaryrefslogtreecommitdiff
path: root/.zsh/zprofile/80_homebrew
blob: ca10df3ec77481ec26e37292a8b029455ec8c193 (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)"
elif [ -x /usr/local/bin/brew ]; then
  eval "$(/usr/local/bin/brew shellenv)"
fi