如何使用bash作为默认shell
我正在使用bash版本3.x运行El Capitan 10.11.3,因此我决定通过以下方式更新bash: brew install bash Brew将新的bash放在/ usr / local / Cellar / bash下: brew info bash bash: stable 4.3.42 (bottled), devel 4.4-beta, HEAD Bourne-Again SHell, a UNIX command interpreter https://www.gnu.org/software/bash/ /usr/local/Cellar/bash/4.3.42 (59 files, 7.3M) * Poured from bottle From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/bash.rb ==> Dependencies Required: readline ✔ ==> Caveats In order …