#!/usr/bin/env false
|
|
|
|
if [[ "$OS" == macos ]] && type /usr/local/bin/brew &>/dev/null; then
|
|
eval `/usr/libexec/path_helper -s`
|
|
brew_prefix="$(/usr/local/bin/brew --prefix)"
|
|
for p in $brew_prefix/opt/*/libexec/gnubin; do
|
|
export PATH="$p:$PATH"
|
|
done
|
|
unset brew_prefix
|
|
export PATH="/usr/local/sbin:$PATH"
|
|
export HOMEBREW_CASK_OPTS="--appdir=~/Applications"
|
|
|
|
# MacOS calls this in zprofile, temporarily hijack it
|
|
function /usr/libexec/path_helper {}
|
|
fi
|