
If you switch from the default zsh shell to bash on macOS Ventura 13, you will see an info message saying default interactive shell is now zsh
% bash
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
bash-3.2$
When you visit the support link in the message you would know more,
Starting with macOS Catalina, your Mac uses zsh as the default login shell and interactive shell. bash is the default shell in macOS Mojave and earlier.
How to supress the default interactive shell is now zsh message
Open the terminal window and execute the below command.
% export BASH_SILENCE_DEPRECATION_WARNING=1
Now if you try to move to the bash shell, you will not see the message again.
How to change the default shell as bash
- Open Terminal App,
- Type chsh -s /bin/bash
- You will see a message: Changing shell for your-user, enter the password for the logged in user,
- The default shell will now be changed to bash!
-
Have Questions? Post them here!
More Posts related to zsh,
- Ubuntu zsh: command not found: nano
- Setting up Zsh Syntax Highlighting
- Fix for zsh: command not found: brew
- Fix - zsh: command not found: conda [macOS]
- Resolve - zsh: command not found: code
- How to make zsh as the default shell on Ubuntu
- zsh: exec format error eclipse M1 Mac
- [fix] zsh: illegal hardware instruction python TensorFlow M1/M2 Mac
- Fix zsh: permission denied: script.sh
- zsh: command not found [fix] macOS
More Posts:
- Git Rename master branch make to main using Command - Git
- Hide Navigation Bar from Android Screen Activity - Android
- say command macOS terminal examples - MacOS
- 10 FTP SFTP Clients and Alternatives - FTP
- SharePoint PowerShell PnP - How to get list item by Item ID using GetItemById, Get-PnPListItem - SharePoint
- Search text in Eclipse Console logs - Eclipse
- list of jars required for hibernate 4.x.x - Java
- How to upgrade PowerShell on Mac - Powershell