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
|
if $BREW_FOUND; then
|
||||||
# Ensure Homebrew can be found within the path.
|
# Ensure Homebrew can be found within the path.
|
||||||
export PATH="${BREW_PREFIX}/bin:${BREW_PREFIX}/sbin:${PATH}"
|
eval $($BREW_PREFIX/bin/brew shellenv)
|
||||||
export FPATH="${BREW_PREFIX}/share/zsh/site-functions:$FPATH"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Under Darwin, we also want iTerm2 integration if possible.
|
# Under Darwin, we also want iTerm2 integration if possible.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue