Update for later versions of MacOS

This commit is contained in:
Andrew Tomaka 2021-11-02 10:05:52 -04:00
parent f4d6699588
commit d9067797a5
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -2,12 +2,21 @@ LOCAL_SBIN_PATH="/usr/local/sbin"
PERSONAL_BIN_PATH="$HOME/bin" PERSONAL_BIN_PATH="$HOME/bin"
LOCAL_HOME_BIN_PATH="$HOME/.local/bin" LOCAL_HOME_BIN_PATH="$HOME/.local/bin"
RBENV_PATH="$HOME/.rbenv/bin" RBENV_PATH="$HOME/.rbenv/bin"
GNU_TOOLS_PATH="/usr/local/opt/coreutils/libexec/gnubin" GNU_TOOLS_PATH="/opt/homebrew/opt/coreutils/libexec/gnubin"
GNU_TOOLS_MAN_PATH="/usr/local/opt/coreutils/libexec/gnuman" GNU_TOOLS_MAN_PATH="/opt/homebrew/opt/coreutils/libexec/gnuman"
APACHE_MAVEN_PATH="$HOME/bin/apache-maven-3.3.9/bin" APACHE_MAVEN_PATH="$HOME/bin/apache-maven-3.3.9/bin"
GO_HOME_PATH="$HOME/go-workspace/bin" GO_HOME_PATH="$HOME/go-workspace/bin"
NODENV_PATH="$HOME/.nodenv/bin" NODENV_PATH="$HOME/.nodenv/bin"
if [[ "$OSTYPE" == darwin* ]]; then
export HOMEBREW_PREFIX="/opt/homebrew";
export HOMEBREW_CELLAR="/opt/homebrew/Cellar";
export HOMEBREW_REPOSITORY="/opt/homebrew";
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin${PATH+:$PATH}";
export MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:";
export INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}";
fi
if [[ "$OSTYPE" == darwin* ]]; then if [[ "$OSTYPE" == darwin* ]]; then
GO_DIR="/usr/local/opt/go/libexec" GO_DIR="/usr/local/opt/go/libexec"
else else