What I'm doing -when installing MacPorts- is the following: declare prefix='/opt/local'
# setup the system paths mkdir -p /etc/paths.d cp -np /etc/paths /etc/paths.orig mv -n /etc/paths /etc/paths.d/999macosx touch /etc/paths echo "${prefix}/bin" > /etc/paths echo "${prefix}/sbin" >> /etc/paths # let's get MacPorts bash & zsh ${prefix}/bin/port -N install bash \ && echo "${prefix}/bin/bash" >> /etc/shells ${prefix}/bin/port -N install zsh \ && echo "${prefix}/bin/zsh" >> /etc/shells Regarding setting MacPorts bash as the default shell for a user, I'm doing it in System Settings -> Users & Groups When you [ctrl][click] on a user name, you get an "Advanced settings" pop-up. In there, you can set the default shell for Terminal. I'm !not! doing this for admin accounts - only "normal" users. For admin accounts, I'm either doing "bash" -or- "sudo bash" in a Terminal window -- Bjarne D Mathiesen Slagelse ; Danmark ; Europa ----------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit miljø MacPro 2010 ; OpenCore + macOS 14.7 Sonoma 2 x 3,46 GHz 6-Core Intel Xeon ; 192 GB 1333 MHz DDR3 ECC RDIMM ATI Radeon RX 590 8 GB