Windows Terminal 集成
MSYS2
安装在默认位置C:\msys64
- 打开
Windows Terminal
- 打开
JSON
配置文件文件。
添加如下配置:
"profiles": {
"defaults": {},
"list": [
{
"guid": "{71160544-14d8-4194-af25-d05feeac7233}",
"name": "MSYS / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -msys",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/msys2.ico",
"font": {
"face": "Lucida Console",
"size": 9
}
},
{
"guid": "{e2277f5c-5a31-4e5c-9345-d0aceb497772}",
"name": "MINGW64 / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/mingw64.ico",
"font": {
"face": "Lucida Console",
"size": 9
}
},
{
"guid": "{17da3cac-b318-431e-8a3e-7fcdefe6d114}",
"name": "UCRT64 / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -ucrt64",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/ucrt64.ico",
"font": {
"face": "Lucida Console",
"size": 9
}
},
{
"guid": "{942c77ad-1020-45b5-91d0-e52595de5fbb}",
"name": "CLANG64 / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -clang64",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/clang64.ico",
"font": {
"face": "Lucida Console",
"size": 9
}
},
{
"guid": "{1815d9d0-b87b-43b3-8241-3f701b75af77}",
"name": "MINGW32 / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw32",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/mingw32.ico",
"font": {
"face": "Lucida Console",
"size": 9
}
},
{
"guid": "{8209a3cd-f0ab-4489-8e92-8dcec3497a0e}",
"name": "CLANGARM64 / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -clangarm64",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/clangarm64.ico",
"font": {
"face": "Lucida Console",
"size": 9
}
},
{
"guid": "{95801f76-9594-412b-a202-45689685dfa2}",
"name": "CLANG32 / MSYS2",
"commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -clang32",
"startingDirectory": "C:/msys64/home/%USERNAME%",
"icon": "C:/msys64/clang32.ico",
"font": {
"face": "Lucida Console",
"size": 9
}
},
...
]
}