- Update brew:
brew update
- Install bash with
brew install bash
- Add
/usr/local/bin/bash
to /etc/shells
- Change the default shell with
chsh -s /usr/local/bin/bash
You don't normally have to change any settings in Terminal or iTerm 2. Both of them default to opening new shells with the default login shell.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…