Skip to content

Instantly share code, notes, and snippets.

@jeffreycentex
Created September 25, 2020 06:02
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 jeffreycentex/d2a9402b4bc26255abffa5cbad35b2e0 to your computer and use it in GitHub Desktop.
Save jeffreycentex/d2a9402b4bc26255abffa5cbad35b2e0 to your computer and use it in GitHub Desktop.
Settings.json for Windows Terminal in Windows 10
// Jeffrey Randow - Default Windows Terminal Configuration Settings
// Requires: choco install -y gsudo anaconda3 powershell-core pwsh
// among other things. Warning. gsudo can be a very dangerous command.
// Do not put it on user workstations to avoid lateral movement and NT Authority/System
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
// You can add more global application settings here.
// To learn more about global settings, visit https://aka.ms/terminal-global-settings
"copyOnSelect": false,
"copyFormatting": false,
"theme": "dark",
"profiles":
{
"defaults":
{
"fontSize": 10,
"acrylicOpacity": 0.90,
"useAcrylic": true,
},
"list":
[
{
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"colorScheme": "Campbell Powershell",
"hidden": false
},
{
"guid": "{61c39875-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell (admin)",
"commandline": "gsudo powershell.exe",
"colorScheme": "Campbell Powershell",
"hidden": false
},
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "Command Prompt",
"commandline": "cmd.exe",
"colorScheme": "Campbell",
"hidden": false
},
{
"guid": "{0caa0dad-35be-8273-a8ff-afceeeac7812}",
"name": "Command Prompt (admin)",
"commandline": "gsudo.exe cmd.exe",
"colorScheme": "Campbell",
"hidden": false
},
{
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"hidden": false,
"name": "Ubuntu-20.04",
"source": "Windows.Terminal.Wsl",
"colorScheme": "Campbell",
"closeOnExit": true
},
{
"guid": "{0caa0dbc-36be-5f56-a8ff-afceefcd2101}",
"name": "Anaconda 3 CMD",
"commandline": "%windir%\\System32\\cmd.exe /K C:\\tools\\Anaconda3\\Scripts\\activate.bat C:\\tools\\Anaconda3",
"colorScheme": "Campbell",
"icon":"C:\\Tools\\Anaconda3\\Menu\\anaconda-navigator.ico",
"hidden": false
},
{
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff235f}",
"name": "Anaconda 3 PowerShell",
"commandline": "%windir%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -ExecutionPolicy ByPass -NoExit -Command & 'C:\\tools\\Anaconda3\\shell\\condabin\\conda-hook.ps1' ; conda activate 'C:\\tools\\Anaconda3'",
"colorScheme": "Campbell Powershell",
"icon":"c:\\Tools\\Anaconda3\\Menu\\anaconda-navigator.ico",
"hidden": false
},
{
"tabTitle": "Git Bash",
"closeOnExit": true,
"colorScheme": "Campbell",
"commandline": "C:/Program Files/Git/bin/bash.exe --login",
"cursorColor": "#FFFFFF",
"cursorShape": "bar",
"guid": "{14ad203f-52cc-4110-90d6-d96e0f41b64d}",
"icon": "ms-appdata:///roaming/git_logo.png",
"historySize": 9001,
"name": "Git Bash",
"padding": "0, 0, 0, 0",
"snapOnInput": true
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": true,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore"
}
]
},
"schemes": [],
"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