LoginSignup
4
4

More than 1 year has passed since last update.

Mac Visual Studio Code のターミナルのShellをbashに変更する

Last updated at Posted at 2020-03-13

目的

  • Visual Studio CodeのターミナルShellをZshに変更する方法のメモを書く
    ※本作業はPCにすでにZshが入っており、terminalでは使用できていることを条件とする。

ご注意

実施方法

  1. Visual Studio Code(以降、VScode)のエディタ画面の左上の「Code」をクリックする。
  2. 「基本設定」→「設定」と進む。
  3. 「設定の検索」にterminal.integrated.shell.osxと入力する。
  4. 「settings.jsonで編集」をクリックする。
  5. 開いたファイルに下記の内容を追記する。場所はどこでもOK

    "terminal.integrated.shell.osx": "/bin/bash"
    
  6. PCを再起動させてからVScodeのターミナルを開く

  7. 下記コマンドを実行してshellがZshになっているか確認する。

    echo $SHELL
    >/bin/bash
    
4
4
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
4
4