summaryrefslogtreecommitdiff
path: root/.zsh/zprofile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-08-07 15:31:05 +0200
committerTobias Klauser <tklauser@distanz.ch>2022-08-07 15:33:23 +0200
commit9fad37e621e12a0e67001868fa72d99c5cca045b (patch)
treeabf8892af7649ea8728a149bcc9d7926fe45d651 /.zsh/zprofile
parentf2bed6d6c118229a30c7a4cb3830afabd0f160c2 (diff)
zprofile: move homebrew setup
Adding homebrew specific $PATH entries needs to be done in .zprofile rather than .zshenv in order to override path initialization done by path_helper on macOS, see https://apple.stackexchange.com/questions/432226/homebrew-path-set-in-zshenv-is-overridden
Diffstat (limited to '.zsh/zprofile')
-rw-r--r--.zsh/zprofile/80_homebrew10
1 files changed, 10 insertions, 0 deletions
diff --git a/.zsh/zprofile/80_homebrew b/.zsh/zprofile/80_homebrew
new file mode 100644
index 0000000..13150f7
--- /dev/null
+++ b/.zsh/zprofile/80_homebrew
@@ -0,0 +1,10 @@
+# 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
+
+eval "$(/opt/homebrew/bin/brew shellenv)"