Skip to content

Instantly share code, notes, and snippets.

@yihuajack
Last active September 18, 2020 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yihuajack/eebf809607e6fdb79e035c4184173de8 to your computer and use it in GitHub Desktop.
Save yihuajack/eebf809607e6fdb79e035c4184173de8 to your computer and use it in GitHub Desktop.
A sample of Windows Terminal profiles including iTerm2-Color-Schemes, PowerShell 7, and other personalized settings
// This file was initially generated by Windows Terminal 0.11.1333.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{7e0bc296-6939-4144-9974-65b32659ddfc}",
// 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,
// 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.
"acrylicOpacity": 0.5,
"colorScheme": "Snazzy",
"fontFace": "DejaVu Sans Mono for Powerline",
"hidden": false,
"useAcrylic": true
},
"list":
[
{
// Make changes here to the powershell.exe profile.
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe"
},
{
// Make changes here to the cmd.exe profile.
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "命令提示符",
"commandline": "cmd.exe"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"guid": "{7e0bc296-6939-4144-9974-65b32659ddfc}",
"name": "PowerShell Core",
"commandline": "D:\\Program Files\\PowerShell\\7\\pwsh.exe",
"icon": "D:\\Program Files\\PowerShell\\7\\assets\\Powershell_black.ico"
},
{
"guid": "{dbed4569-6fe7-472f-8052-bc0dc02fd555}",
"name": "Git Bash",
"commandline": "D:\\Program_Files\\Git\\bin\\bash.exe",
"icon": "D:\\Program_Files\\Git\\mingw64\\share\\git\\git-for-windows.ico",
"startingDirectory": "D:\\Documents\\GitHub"
},
{
"guid": "{957f95a7-9539-46b8-b052-df39de1f1282}",
"name": "MSYS2",
"commandline": "D:\\Program_Files\\msys64\\msys2_shell.cmd -defterm -no-start -msys2",
"icon": "D:\\Program_Files\\msys64\\msys2.ico"
},
{
"guid": "{3bf9cb4f-ac0a-49ee-8002-f11a648c0ea2}",
"name": "Cygwin64",
"commandline": "D:\\Program_Files\\cygwin64\\bin\\bash.exe",
"icon": "D:\\Program_Files\\cygwin64\\Cygwin.ico"
}
]
},
// Add custom color schemes to this array.
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
"schemes": [
{
"name": "Japanesque",
"black": "#343935",
"red": "#cf3f61",
"green": "#7bb75b",
"yellow": "#e9b32a",
"blue": "#4c9ad4",
"purple": "#a57fc4",
"cyan": "#389aad",
"white": "#fafaf6",
"brightBlack": "#595b59",
"brightRed": "#d18fa6",
"brightGreen": "#767f2c",
"brightYellow": "#78592f",
"brightBlue": "#135979",
"brightPurple": "#604291",
"brightCyan": "#76bbca",
"brightWhite": "#b2b5ae",
"background": "#1e1e1e",
"foreground": "#f7f6ec"
},
{
"name": "Snazzy",
"black": "#000000",
"red": "#fc4346",
"green": "#50fb7c",
"yellow": "#f0fb8c",
"blue": "#49baff",
"purple": "#fc4cb4",
"cyan": "#8be9fe",
"white": "#ededec",
"brightBlack": "#555555",
"brightRed": "#fc4346",
"brightGreen": "#50fb7c",
"brightYellow": "#f0fb8c",
"brightBlue": "#49baff",
"brightPurple": "#fc4cb4",
"brightCyan": "#8be9fe",
"brightWhite": "#ededec",
"background": "#1e1f29",
"foreground": "#ebece6"
}
],
// Add custom keybindings to this array.
// To unbind a key combination from your defaults.json, set the command to "unbound".
// To learn more about keybindings, visit https://aka.ms/terminal-keybindings
"keybindings":
[
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
// These two lines additionally bind them to Ctrl+C and Ctrl+V.
// To learn more about selection, visit https://aka.ms/terminal-selection
{ "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
{ "command": "paste", "keys": "ctrl+v" },
// Press Ctrl+Shift+F to open the search box
{ "command": "find", "keys": "ctrl+shift+f" },
// Press Alt+Shift+D to open a new pane.
// - "split": "auto" makes this pane open in the direction that provides the most surface area.
// - "splitMode": "duplicate" makes the new pane use the focused pane's profile.
// To learn more about panes, visit https://aka.ms/terminal-panes
{ "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment