diff --git a/zshrc b/zshrc index ff1c71d..4d93aed 100644 --- a/zshrc +++ b/zshrc @@ -81,8 +81,7 @@ if [[ $OSTYPE == darwin* ]]; then if $BREW_FOUND; then # Ensure Homebrew can be found within the path. - export PATH="${BREW_PREFIX}/bin:${BREW_PREFIX}/sbin:${PATH}" - export FPATH="${BREW_PREFIX}/share/zsh/site-functions:$FPATH" + eval $($BREW_PREFIX/bin/brew shellenv) fi # Under Darwin, we also want iTerm2 integration if possible.