Permalink
Browse files

Unset BREW_PREFIX

  • Loading branch information...
1 parent 3ebc882 commit 1b46078fd213f7110ecfc1d60ec47f7541aff076 @hnagato committed Mar 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 .zshenv
View
@@ -29,6 +29,7 @@ fi
if which brew >/dev/null 2>&1 ; then
local BREW_PREFIX=`brew --prefix`
fpath=($BREW_PREFIX/share/zsh/(site-|)functions(N) $fpath)
- test -f $BREW_PREFIX/etc/autojump && source $BREW_PREFIX/etc/autojump
+ [[ -f $BREW_PREFIX/etc/autojump ]] && source $BREW_PREFIX/etc/autojump
+ unset BREW_PREFIX
fi

0 comments on commit 1b46078

Please sign in to comment.