how use bash 5.0 port

jam at tigger.ws jam at tigger.ws
Tue Sep 1 23:58:40 UTC 2020



> On 1 Sep 2020, at 8:00 pm, macports-users-request at lists.macports.org wrote:
> 
> I have always been too cautious to change the default shell on MacOS to 
> anything other than one that is officially provided, especially for the 
> root account, even if those shell versions are as old as the hills.?? 
> For scripts and launchd process simply put the #!/path/to/bash5 at the 
> top and that's what they run as.? For interactive sessions simply put 
> the new bash exec in the PATH and run it first thing after login, 
> perhaps even automatically by insertion into default shell startup 
> file.? If you really want to change the default you can using the chsh 
> command (man chsh), but I've never done so for the root or startup user. 
> Too much experience based paranoia I guess.
> 
> Just my 2c.

I'm the only user on my mac. What am I being paranoid about?

James


More information about the macports-users mailing list