【MSYS】Windows Terminal 集成

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
        }
      },
      ...
	]
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zhy29563

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值