Prefer using shellenv instead of manually defined paths with brew

This commit is contained in:
Spotlight 2021-06-04 19:12:41 -05:00
parent ca53fd2a67
commit 3ddd3ef886
Signed by: spotlight
GPG key ID: 874AA355B3209BDC

3
zshrc
View file

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