mirror of
https://github.com/KevinMidboe/chsh.git
synced 2025-10-29 12:30:13 +00:00
Only add arm homebrew dir when uname matches
This commit is contained in:
9
.profile
9
.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"
|
||||
|
||||
Reference in New Issue
Block a user