til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as a developer

View project on GitHub

Installing bash

You can install a newer bash using brew if you want to go beyond the bash offered by the operating system distributed one from Apple.

Install from Homebrew:

$ brew install bash

Make the new bash interpreter located in /usr/local/bin/ a login shell:

$ sudo echo '/usr/local/bin/bash' >> /etc/shells

Change your personal login shell

$ chsh -s /usr/local/bin/bash

References