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
|
if [ -e /usr/local/bin/brew ]; then
|
||||||
BREWDIR=`brew --prefix`
|
BREWDIR=`/usr/local/bin/brew --prefix`
|
||||||
|
|
||||||
PATH=$BREWDIR/sbin:$PATH
|
PATH=$BREWDIR/sbin:$PATH
|
||||||
PATH=$BREWDIR/bin:$PATH
|
PATH=$BREWDIR/bin:$PATH
|
||||||
|
|
||||||
COREUTIL=`brew --prefix coreutils`
|
COREUTIL=`$BREWDIR/bin/brew --prefix coreutils`
|
||||||
if [ -d "$COREUTIL" ]; then
|
if [ -d "$COREUTIL" ]; then
|
||||||
PATH=$COREUTIL/libexec/bin/gnubin:$PATH
|
PATH=$COREUTIL/libexec/bin/gnubin:$PATH
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue