How do I upgrade Bash in Mac OSX Mountain Lion and set it the correct path? [closed]

  • 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.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)