This is a guide for updating to Z Shell on macOS.
Command not found
While it's optional to use Z shell if you choose to do so you might hit the following issue when starting a terminal:
Fix the issue
This issue exists on macOS Catalina which currently has issues with Java.
Performing these steps will also work on Mojave even though it does not suffer from the issue.
From the command line, install nvm.
- Create a copy of your current .bash_profile to create .zprofile.
In the file .zprofile, add the following code before:
In the file .zshrc, add the following:
Optional: Display the username, machine name and path at the prompt. In the file .zshrc, add the following: