Skip to content

Commit

Permalink
eval brew only if brew exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kowalczyk authored and Daniel Kowalczyk committed Mar 17, 2022
1 parent f1bdc38 commit bbb165d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shells/zprofile
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,6 @@ export VCPKG_ROOT=$HOME/vcpkg
#" Folding the .vimrc {{{
# vim:foldmethod=marker:foldlevel=0
# }}}
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
if command -v /home/linuxbrew/.linuxbrew/bin/brew >/dev/null; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
fi

0 comments on commit bbb165d

Please sign in to comment.