Skip to content

Instantly share code, notes, and snippets.

@viannaandreBR
Forked from jdhitsolutions/settings.json
Created July 22, 2021 02:29
Show Gist options
  • Save viannaandreBR/306afc9c0ec0eb5a9e19f654eae9d929 to your computer and use it in GitHub Desktop.
Save viannaandreBR/306afc9c0ec0eb5a9e19f654eae9d929 to your computer and use it in GitHub Desktop.
My Windows Terminal settings file.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
// PROSPERO
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{993855ad-b0eb-4f3d-8370-1a8d5b53abb5}",
// Launch Settings
"initialCols": 135,
"initialRows": 35,
// 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.
"historySize": 9001,
"padding": "5, 5, 5, 5",
// directory paths needs to be escaped
"startingDirectory": "C:\\",
"snapOnInput": true,
"colorScheme": "Campbell",
"fontFace": "CascadiaMono",
"cursorShape": "underscore",
"cursorColor": "#FFFFFF",
"fontSize": 14,
"closeOnExit": true
},
"list": [
{
// PowerShell 7 - default
"acrylicOpacity": 0.75,
"commandline": "C:\\Program Files\\PowerShell\\7\\pwsh.exe -nologo",
"guid": "{993855ad-b0eb-4f3d-8370-1a8d5b53abb5}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\pwsh.scale-150.png",
"name": "PowerShell 7",
"tabTitle": "PS 7",
"tabColor": "#FFF000",
"backgroundImage": "D:\\OneDrive\\terminalthumbs\\ps7now-thumb.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageStretchMode": "none",
"backgroundImageOpacity": 0.3,
"useAcrylic": true
},
{
// PowerShell 7 No Profile
"acrylicOpacity": 0.60,
"commandline": "C:\\Program Files\\PowerShell\\7\\pwsh.exe -noprofile",
"cursorColor": "#0ed6c6",
"guid": "{c6783a98-47d9-4610-bc68-7a3f909e94fb}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\pwsh.scale-150.png",
"name": "PS7 No Profile",
"tabTitle": "PS7 NoProfile",
"tabColor" : "#979bf5",
"fontFace": "Lucida Console",
"backgroundImageAlignment": "bottomRight",
"backgroundImageStretchMode": "none",
"colorScheme": "retrowave",
"useAcrylic": false
},
{
// Windows PowerShell
"acrylicOpacity": 0.5,
"background": "#012456",
"commandline": "powershell.exe -nologo",
"fontFace": "Consolas",
"fontSize": 14,
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.scale-100.png",
"name": "Windows PowerShell",
"startingDirectory": "%USERPROFILE%",
"tabTitle": "Windows PowerShell",
"colorScheme": "Jeff",
"fontWeight": "semi-bold",
"backgroundImage": "D:\\OneDrive\\pictures\\narniaforest.jpg",
"backgroundImageOpacity": 0.75,
"useAcrylic": false
},
{
// Windows PowerShell No Profile
"acrylicOpacity": 0.55,
"background": "#03396C",
"backgroundImage": "D:\\OneDrive\\Pictures\\powershell-2.jpg",
"backgroundImageOpacity": 0.5,
"backgroundImageStretchMode": "uniform",
"backgroundImageAlignment": "right",
"colorScheme": "Tango Dark",
"commandline": "powershell.exe -nologo -noexit -noprofile -file c:\\scripts\\miniprofile51.ps1",
"cursorColor": "#e2e7eb",
"cursorHeight": 25,
"cursorShape": "bar",
"fontFace": "Cascadia Code",
"fontSize": 14,
// "fontWeight": "medium",
"guid": "{ca3da2bd-de18-40f7-9fc6-234345d1e89f}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.scale-200.png",
"name": "Windows PowerShell No Profile",
"tabTitle": "PS No Profile",
"tabColor" : "#97bbf5",
"useAcrylic": true
},
{
// ThinkP1
"name": "ThinkP1",
"guid" :"{17ad819e-cafa-4d94-9d9c-467328f6af58}",
"commandline": "ssh -t thinkp1 -l jeff pwsh.exe",
"backgroundImage": "D:\\OneDrive\\Pictures\\thinkpad-2.png",
"backgroundImageOpacity": 0.5,
"icon": "d:\\onedrive\\windowsterminal\\profileicons\\laptop_Gray.png",
"tabTitle": "ThinkP1",
"tabColor" : "#ee2a13"
},
{
// DOM1 virtual machine
"acrylicOpacity": 0.5,
"background": "#020a1b",
"colorScheme": "Jeff",
"commandline": "powershell.exe -nologo -noprofile -noexit -file c:\\scripts\\wtpsremote.ps1 -computername dom1 -credential company\\artd -remoteprofile c:\\scripts\\dom1-remoteprofile.ps1",
"guid": "{b89c512a-cd2b-4fb4-a6d2-3366cee85970}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.scale-200.png",
"name": "DOM1",
"fontFace": "Cascadia Mono",
"startingDirectory": "%USERPROFILE%",
"tabTitle": "PSRemote: DOM1.Company.Pri",
"useAcrylic": false
},
{
// Fred-company-com virtual machine
"acrylicOpacity": 0.8,
"colorScheme": "Campbell Powershell",
"commandline": "C:\\Program Files\\PowerShell\\7\\pwsh.exe -nologo -noprofile -noexit -file c:\\scripts\\wtpsremote.ps1 -hostname fred-company-com -username jeff -remoteprofile c:\\scripts\\lxprofile.ps1",
"cursorShape": "underscore",
"guid": "{5668446e-620a-448f-874b-db766831b2ab}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\fedora-32x32.png",
"name": "Fred",
"tabTitle": "PSRemote: Fred",
"backgroundImage": "D:\\OneDrive\\Pictures\\smoking-penguin.jpg",
"backgroundImageAlignment": "center",
"backgroundImageStretchMode": "none",
"backgroundImageOpacity": 0.3,
"useAcrylic": true
},
{
// Ubuntu Virtual machine
"name": "Wilma",
"commandline": "ssh.exe -t wilma -l jeff",
"guid": "{9a6ee0f4-dfe6-47d2-a94a-95e70ae266fe}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\Ubuntu32x32.png",
"tabTitle": "Wilma"
},
{
// Win10 VM via SSH
"name" : "Win10",
"commandline": "ssh.exe -t win10 -l artd powershell.exe",
"guid": "{2822a886-a871-4764-a083-38309db21c96}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.scale-200.png",
"tabTitle": "Win10.Company.pri",
"colorScheme": "Campbell Powershell"
},
{
// CMD.exe
"acrylicOpacity": 1.0,
"backgroundImage": "",
"backgroundImageOpacity": 0.5,
"backgroundImageStretchMode": "uniform",
"colorScheme": "crt",
"commandline": "cmd.exe",
"cursorColor": "#0cf552",
"cursorShape": "vintage",
"experimental.retroTerminalEffect": true,
"fontFace": "Lucida Console",
"fontSize": 14,
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.scale-100.png",
"name": "DOS",
"startingDirectory": "%USERPROFILE%",
"useAcrylic": false
},
{
// Ubuntu
"acrylicOpacity": 0.5,
"backgroundImage": "D:\\OneDrive\\Pictures\\computer-row.png",
"backgroundImageOpacity": 0.3,
"backgroundImageStretchMode": "fill",
"colorScheme": "Jeff",
"commandline": "wsl.exe -d Ubuntu",
"cursorShape": "vintage",
"fontSize": 14,
"guid": "{e64236d3-807c-49cb-90d8-469d392951f8}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\{9acb9455-ca41-5af7-950f-6bca1bc9722f}.scale-100.png",
"tabTitle": "Ubuntu",
"name": "Ubuntu",
"useAcrylic": false
},
{
// Netsh
"acrylicOpacity": 0.80,
"colorScheme": "Tango Dark",
"commandline": "cmd /c netsh",
"cursorColor": "#800006",
"cursorHeight": 25,
"cursorShape": "vintage",
"fontFace": "Consolas",
"fontSize": 18,
"guid": "{24fe3b4f-d7de-444b-9b71-b946818c98a7}",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.scale-100.png",
"name": "Netsh",
"useAcrylic": true,
"hidden": true
},
{
// NSlookup
"name": "nslookup",
"commandline": "nslookup - 1.1.1.1",
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.scale-100.png",
"useAcrylic": false,
"acrylicOpacity": 0.5,
"background": "#bb11d1",
"fontSize": 18,
"guid" : "{fd5a93bb-25be-4092-a9d2-d87989031c00}",
"tabTitle": "NSLookup",
"hidden": true
},
{
// SQL Server
"name": "SQLExpress",
"colorScheme": "Jeff",
"tabTitle": "SQL",
"backgroundImage": "D:\\OneDrive\\Pictures\\db.png",
"backgroundImageAlignment": "topRight",
"backgroundImageStretchMode": "none",
"backgroundImageOpacity": 0.5,
"icon": "D:\\OneDrive\\windowsterminal\\ProfileIcons\\server.ico",
"useAcrylic": true,
"acrylicOpacity": 0.25,
"guid":"{3c3dc991-64bd-4dae-a34f-2df26e366dc7}",
"commandline": "powershell.exe -nologo -noexit -noprofile -command &{Import-Module SQLPS;Set-Location SQLSERVER:\\SQL\\$env:computername\\sqlexpress }"
},
{
// PS 7.x Preview
"guid": "{a3a2e83a-884a-5379-baa8-16f193a13b21}",
"hidden": false,
"name": "PowerShell 7.2 Preview",
"tabColor" : "#FF5733",
"cursorColor": "#c90606",
"cursorShape": "vintage",
"fontWeight": "black",
"commandline": "pwsh-preview.cmd -nologo -noprofile",
"tabTitle": "PS7.x Preview",
"acrylicOpacity": 1.0,
"useAcrylic": true
// "source": "Windows.Terminal.PowershellCore"
},
{
// Ruby cmd
"guid" :"{a7849c4a-db74-4723-adf2-c717357f0a1a}",
"name" : "Ruby",
"commandline": "C:\\Windows\\System32\\cmd.exe /E:ON /K C:\\Ruby27-x64\\bin\\setrbvars.cmd",
"tabTitle": "Ruby Cmd",
"tabColor" : "#E22A2A",
"cursorColor" : "#e22a2a",
"colorScheme": "Jeff",
"icon": "d:\\onedrive\\windowsterminal\\profileicons\\ruby.png"
},
{
// python interactive
"name": "Python",
"tabTitle": "Python Interactive",
"commandline": "C:\\Users\\Jeff\\AppData\\Local\\Programs\\Python\\Python39\\python.exe",
"guid": "{227475fd-77d6-4721-80c3-67b0fb7f56a5}",
"colorScheme": "retrowave",
"icon" : "d:\\onedrive\\windowsterminal\\profileicons\\python.gif"
},
{
// run PowerShell as System
"name" : "PS System",
"commandline": "D:\\OneDrive\\tools\\psexec -nobanner -s -w C:\\ powershell -noprofile -nologo",
"suppressApplicationTitle": true,
"guid" : "{b632bc88-5c1d-479c-b9a7-d149a1a6403e}",
"tabTitle": "PowerShell as System",
"icon" : "D:\\onedrive\\windowsterminal\\profileicons\\skull.png",
"hidden" :true
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": true,
"useAcrylic": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": true,
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore"
},
{
"guid": "{6e9fa4d2-a4aa-562d-b1fa-0789dc1f83d7}",
"hidden": true,
"name": "Legacy",
"source": "Windows.Terminal.Wsl"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": true,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl"
}
]
},
// Add custom color schemes to this array.
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
"schemes": [
// my custom color schemes
{
// this theme created and commented for powershell
// based off of 1984 unbolded vs code theme
"name": "retrowave",
// entire background
"background": "#070825",
// default text
"foreground": "#46BDFF",
//quoted values
"cyan": "#df81fc",
// commands
"brightYellow": "#ffffff",
// parameters
"brightBlack": "#FF16B0",
// tokens like if, true, false
"brightGreen": "#fcee54",
//comments
"green": "#929292",
//errors
"brightRed": "#f85353",
// attributes like ValueFromPipeline or ::Whatever
"brightWhite": "#ffffff",
// other or unknown
"blue": "#46BDFF",
"brightBlue": "#46BDFF",
"brightCyan": "#ff901f",
"brightPurple": "#FF92DF",
"purple": "#FF92DF",
"red": "#FF16B0",
"white": "#FFFFFF",
"black": "#181A1F",
"gray": "#B9B5B4",
"yellow": "#fcee54"
},
{
"background": "#FFA500",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cyan": "#3A96DD",
"foreground": "#000000",
"green": "#13A10E",
"name": "Halloween",
"purple": "#881798",
"red": "#C50F1F",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#0c0800",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cyan": "#3A96DD",
"foreground": "#0cf552",
"green": "#13A10E",
"name": "crt",
"purple": "#881798",
"red": "#C50F1F",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#0C0C0C",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cyan": "#3A96DD",
"foreground": "#F2F5A9",
"green": "#13A10E",
"name": "Jeff",
"purple": "#881798",
"red": "#C50F1F",
"white": "#CCCCCC",
"yellow": "#C19C00"
}
],
// 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"
},
{
// Ctrl+Shift+U will launch the Ubuntu profile
"command": {
"action": "newTab",
"profile": "Ubuntu"
},
"keys": [
"ctrl+shift+u"
]
},
{
"command": {
"action": "splitPane",
"split": "auto",
"profile": "PS7 No Profile",
"startingDirectory": "C:\\",
"tabTitle": "PS7 Clean"
},
"keys": [
"ctrl+shift+>"
]
},
{
"command": {
"action": "splitPane",
"split": "auto",
"profile": "Windows PowerShell No Profile",
"startingDirectory": "C:\\",
"tabTitle": "PS Clean"
},
"keys": [
"ctrl+shift+<"
]
},
{
"command": "openTabColorPicker", "keys": "ctrl+/"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment