Skip to content

Instantly share code, notes, and snippets.

@thomasmaurer
Last active March 27, 2023 03:34
Show Gist options
  • Save thomasmaurer/0867873896a3c554413902604a407d0e to your computer and use it in GitHub Desktop.
Save thomasmaurer/0867873896a3c554413902604a407d0e to your computer and use it in GitHub Desktop.
My Windows Terminal Settings settings.json February 2021
// This file was initially generated by Windows Terminal 1.3.2651.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": "{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
// 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.
"cursorShape": "vintage"
},
"list":
[
{
// Make changes here to the powershell.exe profile.
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false,
"fontFace": "Consolas",
"colorScheme": "PowerShellTom",
"useAcrylic": true,
"acrylicOpacity": 0.8
},
{
// Make changes here to the cmd.exe profile.
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "Command Prompt",
"commandline": "cmd.exe",
"hidden": false,
"fontFace": "Consolas",
"experimental.retroTerminalEffect": false,
"foreground": "#00FF00"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell ☁",
"source": "Windows.Terminal.Azure",
"colorScheme": "Dracula",
"acrylicOpacity": 0.8,
"useAcrylic": true
},
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "PowerShell ⚡",
"source": "Windows.Terminal.PowershellCore",
"backgroundImage": "C:/Users/thmaure/OneDrive/Pictures/Me/WindowsTerminal/RobotwithBackgroundVibrantInkTom.jpg",
"backgroundImageOpacity" : 0.1,
"colorScheme": "VibrantTom",
"useAcrylic": true,
"fontFace": "Cascadia Code",
"acrylicOpacity": 0.8
},
{
"guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
"hidden": false,
"name": "Ubuntu-18.04 🐳",
"source": "Windows.Terminal.Wsl",
"colorScheme": "UbuntuLegit",
"fontFace": "Cascadia Code",
"acrylicOpacity": 0.8,
"backgroundImage": "C:/Users/thmaure/OneDrive/Pictures/Me/WindowsTerminal/RobotwithBackground.jpg",
"useAcrylic": true,
"backgroundImageOpacity" : 0.1
},
{
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"hidden": false,
"name": "Ubuntu-20.04 🐳",
"source": "Windows.Terminal.Wsl",
"colorScheme": "UbuntuLegit",
"fontFace": "Cascadia Code",
"acrylicOpacity": 0.8,
"backgroundImage": "C:/Users/thmaure/OneDrive/Pictures/Me/WindowsTerminal/RobotwithBackground.jpg",
"useAcrylic": true,
"backgroundImageOpacity" : 0.1
},
// Other Shortcuts
{
// Connects to a remote machine using SSH
"guid": "{3b6e258c-bd69-43af-9365-69b153b0ece6}",
"name": "SSH Thomas AzureVM 💻",
"tabTitle": "SSH Thomas Maurer AzureVM",
"commandline": "ssh thomas@tomazurevmssh.westeurope.cloudapp.azure.com",
"icon": "C:/Users/thmaure/OneDrive/Pictures/Me/WindowsTerminal/AzureVMIcon32.png",
"colorScheme": "UbuntuLegit",
"fontFace": "Cascadia Code",
"acrylicOpacity": 0.5,
"useAcrylic": true
},
{
// Connects to a remote machine using Windows PowerShell
"guid": "{726893ad-458f-4bf5-9cbf-7108d1f9941f}",
"name": "PS Thomas AzureVM 💻",
"tabTitle": "PS Thomas Maurer AzureVM",
"commandline": "powershell.exe -noprofile -noexit -Command Enter-PSSession -ComputerName azurevmps.westeurope.cloudapp.azure.com -credential thomas",
"icon": "C:/Users/thmaure/OneDrive/Pictures/Me/WindowsTerminal/AzureVMIcon32.png",
"colorScheme": "Tango Dark"
},
{
// Connects to a remote machine using Windows PowerShell
"guid": "{726893ad-458f-4bf5-9cbf-7108d1f9941f}",
"name": "PS TomsVM 💻",
"tabTitle": "PS TomsVM",
"commandline": "powershell.exe -noexit -Command Enter-PSSession -ComputerName 192.168.1.150 -credential (New-Object System.Management.Automation.PSCredential ('administrator', ($DemoUserPW = Get-Secret -Name DemoUserPw)))",
"icon": "C:/Users/thmaure/OneDrive/Pictures/Me/WindowsTerminal/ComputerIcon.png",
"backgroundImage": "C:/Users/thmaure/OneDrive/Pictures/Me/WindowsTerminal/RobotwithBackgroundVibrantInkTom.jpg",
"backgroundImageOpacity" : 0.1,
"colorScheme": "VibrantTom",
"useAcrylic": true,
"fontFace": "Cascadia Code",
"acrylicOpacity": 0.8
},
{
// Connects to a remote machine using PowerShell 7
"guid": "{d5f95abc-9fef-41e2-b3c5-6400ce8324b5}",
"name": "PS7 Thomas AzureVM",
"tabTitle": "PS7 Thomas Maurer AzureVM 💻",
"commandline": "pwsh.exe -NoProfile -NoExit -Command Enter-PSSession -ComputerName azurevmps.westeurope.cloudapp.azure.com -credential thomas",
"icon": "C:/Users/thmaure/OneDrive/Pictures/Me/WindowsTerminal/AzureVMIcon32.png",
"colorScheme": "Tango Dark"
},
{
// Starts and Connects to a Docker Container PowerShell 7
"guid": "{d5f95abc-9fef-41e2-b3c5-6400ce8324b5}",
"name": "Azure PowerShell Container",
"tabTitle": "Azure PowerShell Container 💻",
"commandline": "pwsh.exe -NoProfile -NoExit -Command docker start -ai stupefied_mendel",
"icon": "C:/Users/thmaure/OneDrive/Pictures/Me/WindowsTerminal/DockerIcon.png",
"colorScheme": "Tango Dark"
},
{
"guid": "{d6da893b-255b-44f2-92d9-7c7413096de2}",
"name": "PowerShell Light",
"tabTitle": "PowerShell Light 💻",
"commandline": "pwsh.exe -NoExit",
"backgroundImage": "C:/Users/thmaure/OneDrive/Pictures/Me/WindowsTerminal/RobotwithBackgroundVibrantInkTom.jpg",
"backgroundImageOpacity" : 0.1,
"colorScheme": "VibrantTomLight",
"useAcrylic": true,
"fontFace": "Cascadia Code",
"acrylicOpacity": 0.9
}
]
},
// Add custom color schemes to this array.
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
"schemes": [
{
// Color Scheme: VibrantInk
"background" : "#000000",
"black" : "#878787",
"blue" : "#44B4CC",
"brightBlack" : "#555555",
"brightBlue" : "#0000FF",
"brightCyan" : "#19D1D8",
"brightGreen" : "#81EC0D",
"brightPurple" : "#FF00FF",
"brightRed" : "#FF0000",
"brightWhite" : "#E5E5E5",
"brightYellow" : "#FFD93D",
"cyan" : "#19D1D8",
"foreground" : "#FFFFFF",
"green" : "#CCFF04",
"name" : "VibrantInk",
"purple" : "#9933CC",
"red" : "#FF6600",
"white" : "#F5F5F5",
"yellow" : "#FFD93D"
},
{
// Color Scheme: VibrantTom
"background" : "#16171D",
"black" : "#878787",
"blue" : "#44B4CC",
"brightBlack" : "#E373C8",
"brightBlue" : "#0000FF",
"brightCyan" : "#19D1D8",
"brightGreen" : "#81EC0D",
"brightPurple" : "#FF00FF",
"brightRed" : "#FF0000",
"brightWhite" : "#E5E5E5",
"brightYellow" : "#FFD93D",
"cyan" : "#19D1D8",
"foreground" : "#FFFFFF",
"green" : "#CCFF04",
"name" : "VibrantTom",
"purple" : "#9933CC",
"red" : "#FF6600",
"white" : "#F5F5F5",
"yellow" : "#FFD93D"
},
{
// Color Scheme: PowerShellTom
"background" : "#012456",
"black" : "#000000",
"blue" : "#0000ff",
"brightBlack" : "#AAAAAA",
"brightBlue" : "#44B4CC",
"brightCyan" : "#19D1D8",
"brightGreen" : "#81EC0D",
"brightPurple" : "#FF00FF",
"brightRed" : "#FF0000",
"brightWhite" : "#E5E5E5",
"brightYellow" : "#FFD93D",
"cyan" : "#19D1D8",
"foreground" : "#FFFFFF",
"green" : "#00ff00",
"name" : "PowerShellTom",
"purple" : "#9933CC",
"red" : "#FF6600",
"white" : "#F5F5F5",
"yellow" : "#FFD93D"
},
{
// Color Scheme: Ubuntu
"background": "#2C001E",
"black": "#EEEEEC",
"blue": "#268BD2",
"brightBlack": "#002B36",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cyan": "#2AA198",
"foreground": "#EEEEEC",
"green": "#729FCF",
"name": "Ubuntu",
"purple": "#D33682",
"red": "#16C60C",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
// Color Scheme: UbuntuLegit
"background": "#2C001E",
"black": "#4E9A06",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEE",
"brightYellow": "#FCE94F",
"cyan": "#06989A",
"foreground": "#EEEEEE",
"green": "#300A24",
"name": "UbuntuLegit",
"purple": "#75507B",
"red": "#CC0000",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
// Color Scheme: Dracula
"background" : "#282A36",
"black" : "#21222C",
"blue" : "#BD93F9",
"brightBlack" : "#6272A4",
"brightBlue" : "#D6ACFF",
"brightCyan" : "#A4FFFF",
"brightGreen" : "#69FF94",
"brightPurple" : "#FF92DF",
"brightRed" : "#FF6E6E",
"brightWhite" : "#FFFFFF",
"brightYellow" : "#FFFFA5",
"cyan" : "#8BE9FD",
"foreground" : "#F8F8F2",
"green" : "#50FA7B",
"name" : "Dracula",
"purple" : "#FF79C6",
"red" : "#FF5555",
"white" : "#F8F8F2",
"yellow" : "#F1FA8C"
},
{
// Color Scheme: VibrantInkTom Light
"background" : "#EEEEEE",
"black" : "#878787",
"blue" : "#44B4CC",
"brightBlack" : "#595e68",
"brightBlue" : "#0000FF",
"brightCyan" : "#19D1D8",
"brightGreen" : "#3f953a",
"brightPurple" : "#FF00FF",
"brightRed" : "#FF0000",
"brightWhite" : "#E5E5E5",
"brightYellow" : "#FF6600",
"cyan" : "#44B4CC",
"foreground" : "#16171D",
"green" : "#3f953a",
"name" : "VibrantTomLight",
"purple" : "#9933CC",
"red" : "#FF6600",
"white" : "#F5F5F5",
"yellow" : "#FFD93D"
},
{
"name": "OneDark",
"black": "#1e2127",
"red": "#e06c75",
"green": "#98c379",
"yellow": "#d19a66",
"blue": "#61afef",
"purple": "#c678dd",
"cyan": "#56b6c2",
"white": "#abb2bf",
"brightBlack": "#5c6370",
"brightRed": "#e06c75",
"brightGreen": "#98c379",
"brightYellow": "#d19a66",
"brightBlue": "#61afef",
"brightPurple": "#c678dd",
"brightCyan": "#56b6c2",
"brightWhite": "#ffffff",
"background": "#1e2127",
"foreground": "#abb2bf",
"cursorColor": "#aaaaaa"
},
{
"name": "OneLight",
"black": "#000000",
"red": "#de3e35",
"green": "#3f953a",
"yellow": "#d2b67c",
"blue": "#2f5af3",
"purple": "#950095",
"cyan": "#3f953a",
"white": "#bbbbbb",
"brightBlack": "#000000",
"brightRed": "#de3e35",
"brightGreen": "#3f953a",
"brightYellow": "#44B4CC",
"brightBlue": "#2f5af3",
"brightPurple": "#a00095",
"brightCyan": "#3f953a",
"brightWhite": "#aaaaaa",
"background": "#f9f9f9",
"foreground": "#2a2c33",
"cursorColor": "#aaaaaa"
}
],
// Add custom actions and keybindings to this array.
// To unbind a key combination from your defaults.json, set the command to "unbound".
// To learn more about actions and keybindings, visit https://aka.ms/terminal-keybindings
"actions":
[
// 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" },
// Open New Tab
{"command":"newTab", "keys": "ctrl+t"}
]
}
@JustinGrote
Copy link

Several of your profiles are missing GUIDs which is technically against the schema, you should generate some random ones and throw them in there.

Was just testing yours as a sample against my updated "strong typed" version of MSTerminalSettings powershell module :)

@thomasmaurer
Copy link
Author

@JustinGrote Yes you are right will update that soon :)

@robertcatgithub
Copy link

robertcatgithub commented Apr 25, 2020

Thomas, please fix as soon as you can.
I'm new to WT. I just want to do simple things like customizing fonts & backgrounds.
Bings put your blog piece to the top of search result "Windows Terminal JSON Settings"

Also fix lines like these "C:/Users/thoma/OneDrive/Pictures/Me/Thomas Maurer Logos 2016/WindowsTerminal/Black Cloud Robot.png"

It's irritating (to me) that codes that's supposed to work as is but don't.
Bitte

@atiensivu
Copy link

Thomas, please fix as soon as you can.
Also fix lines like these "C:/Users/thoma/OneDrive/Pictures/Me/Thomas Maurer Logos 2016/WindowsTerminal/Black Cloud Robot.png"
It's irritating (to me) that codes that's supposed to work as is but don't.
Bitte

It works for me - he didn't have to post this, don't look a gift JSON in the mouth. :)

@bpstahlman
Copy link

Windows Terminal can't parse this file:

Settings could not be reloaded from file. Check for syntax errors, including trailing commas.
* Line 153, Column 10
  Missing '}' or object member name

Temporarily using the Windows Terminal default settings.

I suspect the error message doesn't reflect the actual problem.

@thomasmaurer
Copy link
Author

@bpstahlman I just update, directly from my current version. Can you check again?

@bpstahlman
Copy link

How should I be testing? Here's what I've done:

  1. Clicked Settings in the Windows Terminal (opens settings.json in an editor)
  2. Replace the contents of the opened file with the contents of your file
  3. Save file

When I save the file, Windows Terminal immediately pops up a "Failed to reload settings" dialog with the text I mentioned previously. I wondered whether it could have something to do with the hardcoded paths in your file, but it seems to be a parse error, so I doubt it's that. It always reports the error on the line containing the closing ] of the first array.

I just noticed I get a similar error if I paste the contents of "defaults.json" (obtained by clicking Alt > Settings) into "settings.json". This makes me wonder whether there could be a file encoding or format issue (e.g., unix vs dos). The files are being opened automatically in Visual Studio. I'll probably try to change the default to open in Vim so I can easily experiment with various formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment