Hardcode path of brew into zsh/paths
This commit is contained in:
parent
69c6fbd9b8
commit
a4f6f2d675
|
@ -1,10 +1,10 @@
|
|||
if command_exists brew; then
|
||||
BREWDIR=`brew --prefix`
|
||||
if [ -e /usr/local/bin/brew ]; then
|
||||
BREWDIR=`/usr/local/bin/brew --prefix`
|
||||
|
||||
PATH=$BREWDIR/sbin:$PATH
|
||||
PATH=$BREWDIR/bin:$PATH
|
||||
|
||||
COREUTIL=`brew --prefix coreutils`
|
||||
COREUTIL=`$BREWDIR/bin/brew --prefix coreutils`
|
||||
if [ -d "$COREUTIL" ]; then
|
||||
PATH=$COREUTIL/libexec/bin/gnubin:$PATH
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue