My Windows Terminal Settings profile with elevated prompt for PowerShell via gsudo.
// This file was initially generated by Windows Terminal 0.11.1251.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", | |
// Bash always. | |
"defaultProfile": "{00000000-0000-0000-ba54-000000000002}", | |
// You can add more global application settings here. | |
// To learn more about global settings, visit https://aka.ms/terminal-global-settings | |
"initialCols": 160, | |
"initialRows": 30, | |
// If enabled, selections are automatically copied to your clipboard. | |
"copyOnSelect": true, | |
// 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. | |
"startingDirectory": "D:\\projects", | |
"colorScheme": "Espresso", | |
"fontSize": 10, | |
"fontFace": "Cascadia Mono", | |
"historySize": 9001 | |
}, | |
"list": [ | |
{ | |
"guid": "{00000000-0000-0000-ba54-000000000002}", | |
"acrylicOpacity": 0.9, | |
"closeOnExit": true, | |
"commandline": "\"%PROGRAMFILES%\\git\\usr\\bin\\bash.exe\" -i -l", | |
"cursorColor": "#FFFFFF", | |
"cursorShape": "bar", | |
"icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png", | |
"name": "Bash", | |
"padding": "0, 0, 0, 0", | |
"snapOnInput": true, | |
"useAcrylic": true, | |
"startingDirectory" : "d:/projects/" | |
}, | |
{ | |
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", | |
"hidden": false, | |
"name": "Ubuntu", | |
"colorScheme": "Dracula", | |
"background": "#2C001E", | |
"source": "Windows.Terminal.Wsl", | |
"fontFace" : "DejaVu Sans Mono for Powerline", | |
"closeOnExit": true | |
}, | |
{ | |
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"name": "PowerShell", | |
"commandline": "powershell.exe", | |
"fontFace": "Delugia Nerd Font", | |
"background" : "#1e1f29", | |
"hidden": false, | |
"startingDirectory" : "d:/projects/" | |
}, | |
{ | |
"guid": "{62c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"name": "PowerShell (admin)", | |
"commandline": "gsudo powershell.exe", | |
"icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png", | |
"fontFace": "Delugia Nerd Font", | |
"background" : "#1e1f29", | |
"hidden": false, | |
"startingDirectory" : "d:/projects/" | |
}, | |
{ | |
"guid": "{69007a63-17be-44d3-b701-8106522ddf28}", | |
"hidden": false, | |
"name": "PowerShell ⚡", | |
"source": "Windows.Terminal.PowershellCore", | |
"icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png", | |
"startingDirectory" : "d:/projects/" | |
}, | |
{ | |
"guid": "{fb83d3ea-2429-472b-be65-e8bc61b23553}", | |
"name": "AWS CLI ☁", | |
"tabTitle": "aws", | |
"commandline": "%LOCALAPPDATA%\\Programs\\Python\\Python38-32\\Scripts\\aws-shell.exe", | |
"icon" : "%LOCALAPPDATA%\\Programs\\Python\\Python38-32\\DLLs\\py.ico", | |
"acrylicOpacity": 0.8, | |
"snapOnInput" : true, | |
"closeOnExit": true, | |
"useAcrylic": true | |
}, | |
{ | |
"guid": "{7241dc93-3df7-4334-852f-4fa62fab1fb4}", | |
"name": "Python v3.8 🐍", | |
"tabTitle": "Python", | |
"commandline": "%LOCALAPPDATA%\\Programs\\Python\\Python38-32\\python.exe", | |
"icon" : "%LOCALAPPDATA%\\Programs\\Python\\Python38-32\\DLLs\\py.ico", | |
"acrylicOpacity": 0.8, | |
"snapOnInput" : true, | |
"closeOnExit": true, | |
"useAcrylic": true | |
}, | |
{ | |
"guid": "{4ddabb21-a88b-4c5e-863b-58067670f0cf}", | |
"name": "SSH Zeus 💻", | |
"tabTitle": "SSH FreeBSD", | |
"commandline": "ssh thushan@192.168.0.6", | |
"acrylicOpacity": 0.8, | |
"closeOnExit": true, | |
"useAcrylic": true | |
}, | |
{ | |
"guid": "{cdfaa442-3268-4ecc-87d2-aa547b7344ce}", | |
"name": "SSH Neo 💻", | |
"tabTitle": "SSH Linux", | |
"commandline": "ssh thushan@192.168.0.12", | |
"acrylicOpacity": 0.8, | |
"closeOnExit": true, | |
"useAcrylic": true | |
}, | |
{ | |
"guid": "{cdfaa142-3268-4ecc-87d2-aa547b7344ce}", | |
"name": "SSH BerryPi 💻", | |
"tabTitle": "SSH Linux", | |
"commandline": "ssh thushan@192.168.0.10", | |
"acrylicOpacity": 0.8, | |
"closeOnExit": true, | |
"useAcrylic": true | |
}, | |
{ | |
// Make changes here to the cmd.exe profile. | |
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", | |
"name": "Command Prompt", | |
"commandline": "cmd.exe", | |
"hidden": false | |
}, | |
{ | |
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", | |
"hidden": false, | |
"name": "Azure Cloud Shell", | |
"source": "Windows.Terminal.Azure" | |
}, | |
{ | |
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"hidden": false, | |
"name": "PowerShell Core", | |
"source": "Windows.Terminal.PowershellCore" | |
}, | |
{ | |
"guid": "{91859b19-39a3-49fc-bb04-606671a5ed2a}", | |
"name": "PowerShell Light", | |
"tabTitle": "PowerShell Light 💻", | |
"commandline": "pwsh.exe -NoProfile -NoExit" | |
} | |
] | |
}, | |
// Add custom color schemes to this array. | |
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes | |
"schemes": [ | |
{ | |
"name": "Darkside", | |
"black": "#000000", | |
"red": "#e8341c", | |
"green": "#68c256", | |
"yellow": "#f2d42c", | |
"blue": "#1c98e8", | |
"purple": "#8e69c9", | |
"cyan": "#1c98e8", | |
"white": "#bababa", | |
"brightBlack": "#000000", | |
"brightRed": "#e05a4f", | |
"brightGreen": "#77b869", | |
"brightYellow": "#efd64b", | |
"brightBlue": "#387cd3", | |
"brightPurple": "#957bbe", | |
"brightCyan": "#3d97e2", | |
"brightWhite": "#bababa", | |
"background": "#222324", | |
"foreground": "#bababa" | |
}, | |
{ | |
"name": "Dracula", | |
"black": "#000000", | |
"red": "#ff5555", | |
"green": "#1b682e", | |
"yellow": "#f1fa8c", | |
"blue": "#bd93f9", | |
"purple": "#ff79c6", | |
"cyan": "#8be9fd", | |
"white": "#bbbbbb", | |
"brightBlack": "#555555", | |
"brightRed": "#ff5555", | |
"brightGreen": "#50fa7b", | |
"brightYellow": "#f1fa8c", | |
"brightBlue": "#bd93f9", | |
"brightPurple": "#ff79c6", | |
"brightCyan": "#8be9fd", | |
"brightWhite": "#ffffff", | |
"background": "#1e1f29", | |
"foreground": "#f8f8f2" | |
}, | |
{ | |
"name": "Espresso", | |
"black": "#353535", | |
"red": "#d25252", | |
"green": "#a5c261", | |
"yellow": "#ffc66d", | |
"blue": "#6c99bb", | |
"purple": "#d197d9", | |
"cyan": "#bed6ff", | |
"white": "#eeeeec", | |
"brightBlack": "#535353", | |
"brightRed": "#f00c0c", | |
"brightGreen": "#c2e075", | |
"brightYellow": "#e1e48b", | |
"brightBlue": "#8ab7d9", | |
"brightPurple": "#efb5f7", | |
"brightCyan": "#dcf4ff", | |
"brightWhite": "#ffffff", | |
"background": "#323232", | |
"foreground": "#ffffff" | |
}, | |
{ | |
"name": "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", | |
"purple": "#75507B", | |
"red": "#CC0000", | |
"white": "#D3D7CF", | |
"yellow": "#C4A000" | |
}, | |
], | |
// 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" }, | |
{ "command": "toggleFocusMode", "keys": "shift+f11" }, | |
// Press Ctrl+Shift+F to open the search box | |
{ | |
"command": "find", | |
"keys": "ctrl+shift+f" | |
}, | |
{ "command": "newTab", "keys": ["ctrl+shift+t"] }, | |
{ "command": "tabSearch", "keys": "ctrl+shift+f" }, | |
{ "command": "commandPalette", "keys": "ctrl+shift+p" }, | |
// 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