chsh -s to homebrew bash #5614
Unanswered
hyperknot
asked this question in
Everyday usage
Replies: 2 comments
-
That should have been sufficient. I can't reproduce the behavior you mention. You may want to check that the terminal application you are using (Terminal.app, iTerm.app, etc.) isn't force overriding the shell. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's beautiful,
This works correctly in other terminals. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew config
Output of
brew doctor
Description of issue
I'd like to use Homebrew bash (5.x) instead of the macOS built-in one (3.3). Here's what I've done:
brew install bash
/opt/homebrew/bin/bash
to/etc/shells
chsh -s /opt/homebrew/bin/bash
Yet, when I open a new terminal, this is what it says:
If I manually run bash, this is what it says:
So somehow the $BASH variable is the same, but $BASH_VERSION is the old one when using chsh / opening a new terminal.
Beta Was this translation helpful? Give feedback.
All reactions