From 917d9ea453da265ed22544331b666c00af4b29f7 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 20 Jun 2023 17:26:47 +0200 Subject: [PATCH] 30_path: No longer look for Homebrew Use the "homebrew" plugin instead, which will setup the environment itself -- and setting the PATH here effectively prevents the plugin from doing it properly (because "brew shellenv" will become a no-op)! --- core/30_path/30_path.zprofile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/30_path/30_path.zprofile b/core/30_path/30_path.zprofile index 9c4fcb8..0dbd256 100644 --- a/core/30_path/30_path.zprofile +++ b/core/30_path/30_path.zprofile @@ -19,10 +19,6 @@ _axzsh_setup_path() { /usr/local/sbin /opt/*/bin(NOn) /opt/*/sbin(NOn) - /home/linuxbrew/.linuxbrew/bin - /home/linuxbrew/.linuxbrew/sbin - ~/.linuxbrew/bin - ~/.linuxbrew/sbin ~/.gem/ruby/*/bin(NOn) ~/.go/bin ~/.cargo/bin @@ -53,8 +49,6 @@ if [[ $? -ne 0 ]]; then for d ( ~/share/man ~/man - ~/.linuxbrew/share/man - /home/linuxbrew/.linuxbrew/share/man /opt/*/share/man(NOn) /opt/*/man(NOn) /usr/share/man -- 2.39.2