diff --git a/etc/profile.d/99-brew.sh b/etc/profile.d/99-brew.sh index 2eb1ed4d..a639a42b 100644 --- a/etc/profile.d/99-brew.sh +++ b/etc/profile.d/99-brew.sh @@ -1,5 +1,4 @@ # https://github.com/Homebrew/brew if [ -d /home/linuxbrew/.linuxbrew/bin ]; then - PATH="/home/linuxbrew/.linuxbrew/bin:$PATH" eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) fi diff --git a/rc/bashrc b/rc/bashrc index eda99aeb..84b1f613 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -315,7 +315,6 @@ fi # https://github.com/Homebrew/brew if [ -d /home/linuxbrew/.linuxbrew/bin ]; then - PATH="/home/linuxbrew/.linuxbrew/bin:$PATH" eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) fi diff --git a/rc/zshrc b/rc/zshrc index ae69b91e..86a9521c 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -269,7 +269,6 @@ fi # https://github.com/Homebrew/brew if [ -d /home/linuxbrew/.linuxbrew/bin ]; then - PATH="/home/linuxbrew/.linuxbrew/bin:$PATH" eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) fi