As you must have noticed that whenever you move your default interactive shell on your macOS Terminal application from the zsh shell to bash, you get the below warning message every time you do it,
% 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$
Steps to silence the warning message: "The default interactive shell is now zsh"
- Open Terminal App,
- Type: nano ~/.bash_profile
- Copy: export BASH_SILENCE_DEPRECATION_WARNING=1 (append as new line if it already has some configuration text) the below lines in the file
- Press Control + X to save to file. Press Y and press Return key to save and exit.
- Now type: source ./bash_profile
- As you will move to bash shell now you will not get the warning.

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:
- Delete a Directory using Mac Terminal Command - MacOS
- MySQL 1005 Error : SQLSTATE: HY000 (ER_CANT_CREATE_TABLE) Message: Can't create table '%s' (errno: 150) - MySQL
- JSON Datatypes : Tutorial - Json-Tutorial
- Open Current Working Directory in Finder using Mac Terminal - MacOS
- How to subscribe nest aware? - Google
- Internet Explorer browser auto redirect to Microsoft Edge for compatibility with modern web sites - Microsoft
- Flash Player will no longer be supported after December 2020. Turn off [Google Chrome] - Chrome
- How to find AUTO_INCREMENT Fields value in MySQL table - MySQL