LoginSignup
0
0

More than 3 years have passed since last update.

Macで"The default interactive shell is now zsh."を非表示にする

Last updated at Posted at 2020-07-25

The default interactive shell is now 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で使っていると、ターミナルやiTerm2を開くたびに
「デフォルトのインタラクティブシェルはzshになりましたよ。」って
ご丁寧に教えてくれます。

毎回はご勘弁願いたいので、非表示にしちゃいましょう。

表示を消す

.bash_profile に以下の記述をする。

~/.bash_profile
export BASH_SILENCE_DEPRECATION_WARNING=1

.bash_profile を開くコマンドはこちら。

標準のテキストエディタで。

$ open ~/.bash_profile

VSCodeで。
事前にPATHを通してください。ここでは割愛します。

$ code ~/.bash_profile
0
0
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
0