From a4f6f2d6751916d33356c010cdff61a52887bcf4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 17 Dec 2013 20:03:03 -0500 Subject: [PATCH] Hardcode path of brew into zsh/paths --- zsh/paths | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/paths b/zsh/paths index 2a4effa3..10763ab1 100644 --- a/zsh/paths +++ b/zsh/paths @@ -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