This page is about using zsh on PureDarwin system.
Normally, PureDarwin comes with the bash shell which most users will be familiar with.
Some users might prefer to use zsh however. This page is a work in progress, please feel free to contribute.
See the DarwinBuild page on how to compile a project if needed.
Take a look at Using the MacPorts project page for more information about MacPorts if you don't know how to build it.
Note: You should also take a look in the available variants (you can use port info zsh or port variants zsh if you want to know the description associated to the respective variant).
The zsh port appears to be "pure" as shown below.
To use zsh as the default shell of the currently logged-in user, do
chsh -s /bin/zsh
To revert back to bash, do
chsh -s /bin/bash
Populate your ~/.zshrc (or /etc/zshrc) with:
alias ll='ls -lh'
Note: zsh is the only shell we know that it is able to run in interactive mode without (or with a broken) standard input.
For users >