Linuxbrew / brew

:beer::penguin: The Homebrew package manager for Linux
https://linuxbrew.sh
BSD 2-Clause "Simplified" License
2.66k stars 237 forks source link

configure-shell: remove HOMEBREW paths before adding #845

Closed maxim-belkin closed 6 years ago

maxim-belkin commented 6 years ago

User can add Homebrew/Linuxbrew PATHs in many ways. This is a proposal to remove Homebrew/Linuxbrew paths before adding them.

maxim-belkin commented 6 years ago

CC @jamescostian

sjackman commented 6 years ago

Removing duplicate elements from PATH has no measurable benefit and adds complexity, so I'd rather not merge this PR. Thanks all the same, Maxim. In addition, plan to remove brew configure-shell in favour of brew shellenv which is now available in Linuxbrew/brew.

maxim-belkin commented 6 years ago

ah, I didn't see that shellenv. OK then