0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Windows】zedでターミナルをgit bashにする方法

Posted at

備忘録

コードエディタzed( https://zed.dev/ )のWindows版では,デフォルトのターミナルがPowerShellになっていて,Flutter開発などではうまくプリントデバッグできなかった.
なので,zedのターミナルをgit-bash( https://gitforwindows.org/ )にする方法を記載します.

やり方

  1. zedの設定ファイル(zed > Open Settings File)を開く
    • 一応ファイルパスも記載する:C:\Users\[ユーザ名]\AppData\Roaming\Zed\settings.json
  2. 以下のように加筆
{
    // ...その他設定

    "terminal": {
        "dock": "right",
        "shell": {
          "program": "C:\\Program Files\\Git\\bin\\bash.exe"
        }
      }
}

PATH周りがあるけどこう書いておけばとりあえず安心です.dockが右なのは私の趣味です.位置はGUIでも変更できたと思います.

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?