I have upgraded bash as instructed above.
echo $BASH_VERSION
is fine with response : 4.3.42(1)-release
However, the terminal still has issue
sh --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
Terminal preferences setting:
Shells open with:
/usr/local/Cellar/bash/4.3.42/bin/bash
I have also done (using 'su' privilege) :
bash -c "echo $(brew --prefix)/bin/bash >> /private/etc/shells"
Do I need to fill in anything for $(brew --prefix) ?
Do I need to replace --prefix with anything etc. ?
I have restarted my MacBook, but still could not get it right.
I still have the issue with bad negative array index! Would appreciate your help.
Hi Rafal,
I have upgraded bash as instructed above.
echo $BASH_VERSION
is fine with response : 4.3.42(1)-release
However, the terminal still has issue
sh --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
Terminal preferences setting:
Shells open with:
/usr/local/Cellar/bash/4.3.42/bin/bash
I have also done (using 'su' privilege) :
bash -c "echo $(brew --prefix)/bin/bash >> /private/etc/shells"
Do I need to fill in anything for $(brew --prefix) ?
Do I need to replace --prefix with anything etc. ?
I have restarted my MacBook, but still could not get it right.
I still have the issue with bad negative array index! Would appreciate your help.