Peter's sandbox
to develop skills, share ideas and experience, etc

Hide iTerm2's zsh notification

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:
vi ~/.bash_profile
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.

Tag Cloud

android run sport security oneplus availability stretch rest messenger memory_management mac introduction injury WFH SEO AFK