diff --git a/.profile b/.profile index 455f467..76edb5a 100644 --- a/.profile +++ b/.profile @@ -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"