how use bash 5.0 port

raf macports at raf.org
Wed Sep 2 01:26:43 UTC 2020


On Wed, Sep 02, 2020 at 11:10:28AM +1000, Dave Horsfall <dave at horsfall.org> wrote:

> On Tue, 1 Sep 2020, dan d. wrote:
> 
> > The way to call the bash 5 version first is either to move the macports
> > version to /bin/ or put the /opt/local/bin/ in your shell path first.
> 
> In my 40+ years of Unix experience, never overwrite system binaries; that's
> why we have $PATH etc.
> 
> -- Dave

and chsh

and https://support.apple.com/en-au/guide/terminal/trml113/mac 

and System Preferences -> Users & Groups -> Right click on user ->
    Advanced Options... -> Change "Login shell:"

anyway, macos's SIP wouldn't let you overwrite system binaries
anyway (without disabling it first but you wouldn't do that) :-)

cheers,
raf



More information about the macports-users mailing list