Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

StellarVixen

macrumors 68040
Original poster
Mar 1, 2018
3,408
6,077
Somewhere between 0 and 1
It is known that Z Shell is now default shell in Mac OS Catalina.

But I do not care, and I want to keep using BASH.


I would be very helpful if someone told me how to remove this annoyance everytime I open new window:

Screen Shot 2019-10-20 at 9.34.38 PM.png

[automerge]1571601030[/automerge]
Nevermind, solved it!


For those who also want to know, edit your .bash_profile file with nano, vi, vim...whatever. If there isn't one, create one.


Add following command: export BASH_SILENCE_DEPRECATION_WARNING=1

Save and exit.


Further in Terminal, write:
source .bash_profile
Press Return


And that is it. Annoying warning is gone.
 
Last edited:
  • Like
Reactions: !!! and joedec
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.