WindowsTerminal配置
1. 配色
官方配色:https://windowsterminalthemes.dev/
打开设置里面的 JSON 文件,找到 schemes ,添加你喜欢的配色主题(可以自定义):
{
"name": "Homebrew",
"black": "#000000",
"red": "#FC5275",
"green": "#00a600",
"yellow": "#999900",
"blue": "#6666e9",
"purple": "#b200b2",
"cyan": "#00a6b2",
"white": "#bfbfbf",
"brightBlack": "#666666",
"brightRed": "#e50000",
"brightGreen": "#00d900",
"brightYellow": "#e5e500",
"brightBlue": "#0000ff",
"brightPurple": "#e500e5",
"brightCyan": "#00e5e5",
"brightWhite": "#e5e5e5",
"background": "#283033",
"foreground": "#00ff00",
"selectionBackground": "#083905",
"cursorColor": "#23ff18"
},
找到 profiles 里面可以单独设置每个 shell 的主题,也可以全部设定,在 defaults 里面输入:
"colorSchemes": "Homebrew"
2. 右键菜单
有些安装之后右键没有打开 WindowsTerminal 没有(如果安装的最新版,重启试下), win+r 输入 regedit 打开注册表,找到
计算机\HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\WindowsTerminal(最后这里自己设置为你想要的名字)
新建一个字符串值(名称必须为 Icon),数值设为你的具体图标地址(绝对路径)
新建一个项 command ,更改里面的默认数值为
wt -d "%V"
WindowsTerminal配置
https://everysunday.github.io/2022/02/15/WindowTerminal配置/