You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
471 B

#!/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