備忘録
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()