]> arthur.barton.de Git - ax-zsh.git/commitdiff
30_path: No longer look for Homebrew
authorAlexander Barton <alex@barton.de>
Tue, 20 Jun 2023 15:26:47 +0000 (17:26 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 20 Jun 2023 15:26:47 +0000 (17:26 +0200)
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

index 9c4fcb8cf73667d215b578cf4210844cd5f131f3..0dbd256b8c8776d40b02469717dc39522f4bbae3 100644 (file)
@@ -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