RIP Bash: macOS Catalina Will Set Z Shell as Terminal Default

1 minute read
| Quick Tip

Starting with the macOS Catalina beta, your Mac will use zsh as the default shell in Terminal, replacing Bash.

Bash and Z Shell

Bash, otherwise known as the Bourne Again Shell, started in 1989 to replace the older Bourne shell. It’s been the default shell in macOS starting with OS X Jaguar released in 2002. However, people have always been able to change what shell they want, and Z shell is a popular alternative. Z shell extends Bash with a bunch of improvements.

Changing Your Default Shell From Users & Groups

  1. Choose Apple menu  > System Preferences, then click Users & Groups.
  2. Click the lock icon, then enter your account name and password.
  3. Control-click your user name in the list of users on the left, then choose Advanced Options.
  4. Choose a shell from the ”Login shell” menu, then click OK to save the changes.

Selecting z shell in system preferences

Changing Your Default Shell From Terminal

Open Terminal and enter the following command:

$ chsh -s path

Where path is one of shell paths listed in /etc/shells, such as /bin/zsh, /bin/bash, /bin/csh, /bin/dash, /bin/ksh, /bin/sh, or /bin/tcsh.

Further Reading:

[macOS: How to Update Your Mac in the Terminal]

[9 Alternatives for the Apple’s Mac Terminal App]

3
Leave a Reply

Please Login to comment
2 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
Andrew OrrScott B in DC Recent comment authors

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
newest oldest most voted
Notify of
Member
Victor Piousbox

Well it’s hardly possible to “remove” something as fundamentally OSS as bash.

Scott B in DC
Member
Scott B in DC

Are they removing bash or just adding zsh and leaving it as an option? Remember, when Jaguar was released tcsh was the default shell. I forgot when they moved to bash (Leopard?) but tcsh is still available.