I'm new to OS X. I'm running OS X Lion on a MacBook Pro. Is it safe to upgrade the bash shell using Homebrew:
$ brew install bash
If safe, how do I make it the default instance of the shell I run through Terminal?
Settings in Terminal or iTerm 2 don't normally have to be changed. Both of them default to opening new windows with a login shell of the default shell.
The default shell can also be changed from System Preferences or with dscl, but all three options just modify
I could be wrong here, but as far as I know
About Terminal, you can make shells open with your own, custom command. Go to Preferences > Startup and select Shells open with: Command (complete path). Simply type the path to your new
Hope it helps!
BTW: Backup! Best advice in this situations!
Well before you do anything, back up your current file (of course, but always deserves to be said)
Then create a symlink to the bash executable that Homebrew downloaded. I think it will be in /usr/local/Cellar, like so
Now /bin/bash points to the file in your usr/local directory
|show 1 more comment|