again…. bash version mac didn’t change

On MacOS I installed bash with:

brew install bash

That created /usr/local/Cellar/bash/5.0.18/bin/bash

The command which -a bash reports only /bin/bash. If I close the terminal, reboot, etc. I see the same output.

I added the new bash to /etc/private/shells, then changed my default shell to the new version of bash:

sudo vim /private/etc/shells # added new bash 5.0.18 path
chsh -s /usr/local/Cellar/bash/5.0.18/bin/bash 

Then I rebooted, but I still see:

GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)
Copyright (C) 2007 Free Software Foundation, Inc.

What’s wrong?