mac shell 警告消除方法

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_profile 或 ~/.profile 中:

export BASH_SILENCE_DEPRECATION_WARNING=1

https://support.apple.com/zh-cn/HT208050
原文地址:https://www.cnblogs.com/fadedlemon/p/13784990.html