0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

macで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.

Posted at

macでbashを使うと出てくるzsh使えと催促してくるメッセージを表示させない方法

下記のメッセージが出てくる、お馴染みである。
これを出さない方法を記載します。

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に下記を追加

 export BASH_SILENCE_DEPRECATION_WARNING=1

下記を実行し、設定を反映させます。

source ~/.bash_profile

以上

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?