From: Alexander Barton Date: Tue, 20 Jun 2023 15:26:47 +0000 (+0200) Subject: 30_path: No longer look for Homebrew X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=917d9ea453da265ed22544331b666c00af4b29f7;p=ax-zsh.git 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)! --- 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