From 9fad37e621e12a0e67001868fa72d99c5cca045b Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 7 Aug 2022 15:31:05 +0200 Subject: 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 --- .zsh/zprofile/80_homebrew | 10 ++++++++++ .zsh/zshenv/80_homebrew | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 .zsh/zprofile/80_homebrew delete mode 100644 .zsh/zshenv/80_homebrew 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 +# 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)" diff --git a/.zsh/zshenv/80_homebrew b/.zsh/zshenv/80_homebrew deleted file mode 100644 index 13150f7..0000000 --- a/.zsh/zshenv/80_homebrew +++ /dev/null @@ -1,10 +0,0 @@ -# zshenv/80_homebrew -# -# Set variables related to Homebrew -# -# Copyright © 2022 Tobias Klauser -# 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)" -- cgit v1.2.3-54-g00ecf