LoginSignup
1
1

More than 3 years have passed since last update.

macOS Catalinaのターミナルでの「デフォルトのシェルがzshになりました」というメッセージを抑止する方法

Posted at

macOS Catalinaにアップデートしてからターミナルを開くと毎回鬱陶しいメッセージが表示されるようになった。

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 に以下の1行を追加。

export BASH_SILENCE_DEPRECATION_WARNING=1

[元記事]

ps.
zshはbashと(ほぼ)コンパチブルというようなことがどこかに書いてあったが、試したところいくつか動かなくなるスクリプトがあったので、すぐにbashに戻した。

1
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
1
1