how use bash 5.0 port

Steven Smith steve.t.smith at gmail.com
Mon Aug 31 21:41:46 UTC 2020


To continue using bash on 10.15 and ignore the zsh deprecation:

chsh -s /opt/local/bin/bash

And, if using /bin/bash rather than MacPorts bash, stick this in your ~/.profile (or ~/.bash_profile):

# don't use zsh default on macOS
export BASH_SILENCE_DEPRECATION_WARNING=1

Note: These Catalina+ steps are not currently reflected in the MacPorts instructions at https://trac.macports.org/wiki/howto/bash-completion#Step3:UsebashfromMacPortsinyourterminal

> On Aug 31, 2020, at 12:33, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> 
> I want to upgrade the built-ub bash 3.2 shell on my macOS Catalina (10.15.6) to bash 5.0.
> 
> I tried to do this by building from scratch, using the methods given at https://scriptingosx.com/2019/02/install-bash-5-on-macos/?unapproved=66418&moderation-hash=e680aa22ae89f6f565cadd63e63d04e0#comment-66418. But the final step, “sudo make install” gave a fatal error of ‘libintl.h’ file not found.
> 
> So then I successfully installed the MacPorts port bash @5.0.17_0.
> 
> —> But how do I make this bash 5.0 my shell when I open Terminal?
> 
> ---
> Murray Eisenberg			murrayeisenberg at gmail.com
> 503 King Farm Blvd #101	Home (240)-246-7240
> Rockville, MD 20850-6667	Mobile (413)-427-5334
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200831/7c759a5c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200831/7c759a5c/attachment.bin>


More information about the macports-users mailing list