TadaoYamaokaの開発日記

個人開発しているスマホアプリや将棋AIの開発ネタを中心に書いていきます。

Windows TerminalでMSYS2を起動する設定

備忘録
settings.jsonのprofilesのリストに以下の設定を追加する。

    {
      "closeOnExit": true,
      "colorScheme": "Campbell",
      "commandline": "cmd.exe /c \"set CHERE_INVOKING=1&& set MSYSTEM=MINGW64&& C:\\msys64\\usr\\bin\\bash.exe --login\"",
      "fontFace": "Consolas",
      "fontSize": 10,
      "guid": "{xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}",
      "historySize": 9001,
      "icon": "C:\\msys64\\mingw64.ico",
      "name": "MSYS2 MinGW 64-bit",
      "snapOnInput": true,
      "startingDirectory": "c:\\msys64\\home\\%USERNAME%"
    },

guidは、PowerShellで、以下の実行して取得する。

[guid]::NewGuid()