Skip to content

Instantly share code, notes, and snippets.

@hfreire
Last active December 10, 2019 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hfreire/3e76cef6017e5e2b792328840b39c353 to your computer and use it in GitHub Desktop.
Save hfreire/3e76cef6017e5e2b792328840b39c353 to your computer and use it in GitHub Desktop.
Use zsh from MacPorts in MacOS
# Install latest zsh version using macports
sudo port install zsh
# Add macports zsh as an available shell interpreter
echo /opt/local/bin/zsh >> /etc/shells
# Set macports zsh as the default shell interpreter
chsh -s /opt/local/bin/zsh
# Open a new terminal window
open -a Terminal -n
# Confirm by checking the zsh version in the new terminal window
echo $ZSH_VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment