Only add arm homebrew dir when uname matches

This commit is contained in:
2023-03-25 14:00:31 +01:00
parent a6fe9541dd
commit 66cc4fc9e2

View File

@@ -2,13 +2,14 @@
# over system-provided programs
export PATH="/usr/local/bin:$PATH"
# Add homebrew arm64 install path if applicable
if [[ $(uname -m) == "arm64" ]]; then
export PATH="/opt/homebrew/bin:$PATH"
fi
# MacPorts Installer rddition on 2022-10-31_at_23:07:29: adding an appropriate PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Homebrew add executable bin file directory
# to PATH variable.
export PATH="/opt/homebrew/bin:$PATH"
# Setting PATH for Python 3.11
# The original version is saved in .zprofile.pysave
# PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:$PATH"