Hide iTerm2's zsh notification2020.09.17 | Tags:
The preinstalled Terminal application on a Mac is very basic, at least for me. Thus, I installed iTerm2 that provides a lot of features and functions I was missing; but for a long time now, the default shell in iTerm2 is Z shell. However, I already configured my Bash and I don’t plan to switch. So, what I need to do to avoid the notification “The default interactive shell is now zsh” every time I start a new session?
The solution is very easy:
1.) open the .bash_profile in your home directory:
2.) add the below line:
If you ever want to see the message again, just open the above file again and delete the extra line you just added.