配置
// 默认启动为Git Bash
"defaultProfile": "{5D1F95DF-36E8-56AD-C203-EA75CE06422C}",
// You can add more global application settings here.
// To learn more about global settings, visit https://aka.ms/terminal-global-settings
// If enabled, selections are automatically copied to your clipboard.
"copyOnSelect": false,
// If enabled, formatted data is also copied to your clipboard
"copyFormatting": false,
// 黑色主题
"theme": "dark",
// A profile specifies a command to execute paired with information about how it should look and feel.
// Each one of them will appear in the 'New Tab' dropdown,
// and can be invoked from the commandline with `wt.exe -p xxx`
// To learn more about profiles, visit https://aka.ms/terminal-profile-settings
"profiles":
{
"defaults":
{
// Put settings here that you want to apply to all profiles.
// 自定义字体
// "fontFace" : "Fira Code",
// 自定义字体大小
// "fontSize": 11,
// 是否启用亚克力效果
// "useAcrylic" : true,
// 亚克力效果的透明度
// "acrylicOpacity" : 0.8,
// 自带的半黑色配色方案,其他自带配色方案:https://docs.microsoft.com/en-us/windows/terminal/customize-settings/color-schemes
"colorScheme" : "One Half Dark",
// 启动目录
"startingDirectory" : "%USERPROFILE%\\Desktop",
// 输入的时候,窗口自动滚到最下方
"snapOnInput" : true,
// 关闭的时候退出
"closeOnExit" : true
},
"list":
[
{
"guid" : "{5D1F95DF-36E8-56AD-C203-EA75CE06422C}",
"name" : "Git Bash",
"commandline" : "E:\\Git\\bin\\bash.exe --login -i",
"icon" : "F:\\Pictures\\git-bash.png"
},
{
// Make changes here to the cmd.exe profile.
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "命令提示符",
"commandline": "cmd.exe",
"hidden": false
},
{
// Make changes here to the powershell.exe profile.
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false
},
]
},