Prefer using shellenv instead of manually defined paths with brew
This commit is contained in:
parent
ca53fd2a67
commit
3ddd3ef886
1 changed files with 1 additions and 2 deletions
3
zshrc
3
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue