Hardcode path of brew into zsh/paths

This commit is contained in:
Henrik Lissner 2013-12-17 20:03:03 -05:00
parent 69c6fbd9b8
commit a4f6f2d675

View file

@ -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