Created
May 29, 2018 19:52
-
-
Save hfreire/559da268d8e0f741195d74ee213a821b to your computer and use it in GitHub Desktop.
Use bash from MacPorts in OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install latest bash version using macports | |
sudo port install bash | |
# Add macports bash as an available shell interpreter | |
echo /opt/local/bin/bash >> /etc/shells | |
# Set macports bash as the default shell interpreter | |
chsh -s /opt/local/bin/bash | |
# Open a new terminal window | |
open -a Terminal -n | |
# Confirm by checking the bash version in the new terminal window | |
echo $BASH_VERSION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment