Skip to content

Instantly share code, notes, and snippets.

@rprouse
Last active August 29, 2023 14:20
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 rprouse/45a18e2220ceffcf9874519247d6b84f to your computer and use it in GitHub Desktop.
Save rprouse/45a18e2220ceffcf9874519247d6b84f to your computer and use it in GitHub Desktop.
Windows Terminal Settings updated for v0.11, prompt icons updated for Nerd Fonts 3
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "executiontime",
"style": "diamond",
"trailing_diamond": "\uE0B4 ",
"leading_diamond": "\uE0B6",
"foreground": "#BFA0FE",
"background": "#29315A",
"properties": {
"threshold": 150,
"style": "austin",
"prefix": "",
"postfix": ""
}
},
{
"type": "session",
"style": "diamond",
"trailing_diamond": "\uE0B4 ",
"leading_diamond": "\uE0B6",
"foreground": "#94D8E5",
"background": "#29315A",
"properties": {
"display_host": true,
"user_info_separator": " \uDB81\uDE8C ",
"postfix": "",
"prefix": ""
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "path",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": "\uE0B6",
"foreground": "#CCCCC6",
"background": "#29315A",
"properties": {
"prefix": "\uF114 ",
"postfix": "",
"style": "folder"
}
},
{
"type": "git",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": " \uE0B6",
"foreground": "#56C2D6",
"background": "#29315A",
"properties": {
"prefix": "",
"postfix": "",
"display_status_detail": true
}
},
{
"type": "dotnet",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": " \uE0B6",
"foreground": "#BFA0FE",
"background": "#29315A",
"properties": {
"prefix": "\uE70C ",
"postfix": "",
"display_version": true
}
},
{
"type": "python",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": " \uE0B6",
"foreground": "#FEED6C",
"background": "#29315A",
"properties": {
"prefix": "\uF81F ",
"postfix": "",
"display_version": true
}
},
{
"type": "go",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": " \uE0B6",
"foreground": "#94D8E5",
"background": "#29315A",
"properties": {
"prefix": "\uFCD1 ",
"postfix": "",
"display_version": true
}
},
{
"type": "node",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": " \uE0B6",
"foreground": "#82B414",
"background": "#29315A",
"properties": {
"prefix": "\uE718 ",
"postfix": "",
"display_version": true
}
},
{
"type": "ruby",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": " \uE0B6",
"foreground": "#F92672",
"background": "#29315A",
"properties": {
"prefix": "\uE791 ",
"postfix": "",
"display_version": true
}
},
{
"type": "java",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": " \uE0B6",
"foreground": "#F92672",
"background": "#29315A",
"properties": {
"prefix": "\uE738 ",
"postfix": "",
"display_version": true
}
},
{
"type": "julia",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": " \uE0B6",
"foreground": "#BFA0FE",
"background": "#29315A",
"properties": {
"prefix": "\uE624 ",
"display_version": true
}
},
{
"type": "battery",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": " \uE0B6",
"foreground": "#BFA0FE",
"background": "#29315A",
"properties": {
"discharging_icon": "\uDB80\uDC7F ",
"charging_icon": "\uDB80\uDC84 ",
"charged_icon": "\uDB80\uDC79 ",
"color_background": false,
"charged_color": "#82B414",
"charging_color": "#56C2D6",
"discharging_color": "#F92672",
"prefix": "",
"postfix": "",
"display_charging": true
}
},
{
"type": "time",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"leading_diamond": " \uE0B6",
"foreground": "#FD971F",
"background": "#29315A",
"properties": {
"time_format": "15:04",
"prefix": "\uE641 "
}
}
]
},
{
"type": "newline"
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#94D8E5",
"properties": {
"prefix": " ",
"text": "\u03BB =>"
}
}
]
}
]
}
// This file was initially generated by Windows Terminal 0.11.1121.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": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
// You can add more global application settings here.
// To learn more about global settings, visit https://aka.ms/terminal-global-settings
"alwaysShowTabs": true,
"initialCols": 132,
"initialRows": 50,
"theme": "dark",
"showTabsInTitlebar": true,
"showTerminalTitleInTitlebar": true,
"confirmCloseAllTabs": false,
// 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.
"acrylicOpacity": 0.85,
"antialiasingMode": "cleartype",
"backgroundImageAlignment": "bottomRight",
"backgroundImageStretchMode": "none",
"colorScheme": "Babun",
"cursorShape": "vintage",
// https://www.nerdfonts.com/
//"fontFace": "MesloLGS NF",
"fontFace": "FiraCode NF",
"fontSize": 10,
"snapOnInput": true,
"startingDirectory": "C:\\Src",
"useAcrylic": true
},
"list": [
{
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\PowerShellCore.png",
"backgroundImageOpacity": 0.5,
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "PowerShell Core",
"source": "Windows.Terminal.PowershellCore"
},
{
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\Ubuntu.png",
"backgroundImageOpacity": 0.25,
"colorScheme": "Raspberry",
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"hidden": false,
"icon": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\PNG\\Ubuntu3.png",
"name": "Ubuntu-20.04",
"startingDirectory": "\\\\wsl$\\Ubuntu-20.04\\home\\rob\\",
"source": "Windows.Terminal.Wsl"
},
{
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\git.png",
"backgroundImageOpacity": 0.34999999403953552,
"commandline": "C:\\Progra~1\\Git\\git-cmd.exe --cd-to-home --command=usr/bin/bash.exe -l -i",
"guid": "{13430712-4558-443b-ac18-9b782952b13f}",
"icon": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\PNG\\git.png",
"name": "Git Bash",
"tabTitle": "Git Bash"
},
{
"background": "#222439",
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\VS2019.png",
"commandline": "%comspec% /k \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\Common7\\Tools\\VsDevCmd.bat\"",
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"icon": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\PNG\\VS2019.png",
"name": "VS 2019 Command Prompt",
"tabTitle": "VS 2019"
},
{
"background": "#041628",
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\Azure.png",
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"icon": "ms-appx:///ProfileIcons/{b453ae62-4e3d-5e58-b989-0a998ec441b8}.png",
"name": "Azure Cloud Shell",
"tabTitle": "Azure Shell",
"source": "Windows.Terminal.Azure"
},
{
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\CSharp.png",
"backgroundImageOpacity": 0.34999999403953552,
"commandline": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\MSBuild\\Current\\bin\\Roslyn\\csi.exe",
"guid": "{14ebca09-1151-485f-b695-d5af72d8a8ab}",
"icon": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\PNG\\CSharp.png",
"name": "C# Interactive",
"tabTitle": "C# Interactive"
},
{
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\FSharp.png",
"backgroundImageOpacity": 0.34999999403953552,
"commandline": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\FSharp\\fsi.exe",
"guid": "{645680a1-b447-47d0-8fd5-fa1f49d546db}",
"icon": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\PNG\\FSharp.png",
"name": "F# Interactive",
"tabTitle": "F# Interactive"
},
{
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\NodeJS.png",
"backgroundImageOpacity": 0.34999999403953552,
"commandline": "C:\\Program Files\\nodejs\\node.exe",
"guid": "{1c535662-48b8-4826-b6fd-d2c9a8dac06e}",
"icon": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\PNG\\NodeJS.png",
"name": "Node.js",
"tabTitle": "Node.js"
},
{
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\Python.png",
"backgroundImageOpacity": 0.34999999403953552,
"commandline": "C:\\Program Files\\PowerShell\\7\\pwsh.exe -ExecutionPolicy ByPass -NoExit -Command \"& 'C:\\Users\\rob\\Anaconda3\\shell\\condabin\\conda-hook.ps1' ; conda activate 'C:\\Users\\rob\\Anaconda3'",
"guid": "{550d3a42-a68f-4160-8cd0-62027f13dc98}",
"icon": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\PNG\\Python.png",
"name": "Anaconda 3",
"startingDirectory": "C:\\Src\\Python",
"tabTitle": "Anaconda 3"
},
{
// Make changes here to the cmd.exe profile.
"background": "#222439",
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\Abduction.png",
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "Command Prompt",
"commandline": "cmd.exe",
"tabTitle": "cmd"
},
{
// Make changes here to the powershell.exe profile.
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\PowerShell.png",
"backgroundImageOpacity": 0.25,
"colorScheme": "Campbell Powershell",
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"tabTitle": "Windows PowerShell"
},
{
"background": "#420F10",
"backgroundImage": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\Terminal\\Covid-19.png",
"backgroundImageOpacity": 0.25,
"commandline": "C:\\Users\\rob\\OneDrive\\bin\\covid19\\Covid19DataProvider.exe",
"guid": "{BC96EA4B-56F6-4BC1-A253-1100B4CD6DD8}",
"icon": "C:\\Users\\rob\\OneDrive\\Pictures\\Icons\\PNG\\Covid-19.png",
"name": "Covid-19 Data",
"tabTitle": "Covid-19 Data"
},
{
"guid": "{1777cdf0-b2c4-5a63-a204-eb60f349ea7c}",
"hidden": false,
"name": "Alpine",
"source": "Windows.Terminal.Wsl"
},
{
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"hidden": false,
"name": "Ubuntu-20.04",
"source": "Windows.Terminal.Wsl"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": false,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl"
},
{
"guid": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}",
"hidden": false,
"name": "Debian",
"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": [
{
"name": "Babun",
"background": "#1B1D1E",
"black": "#1B1D1E",
"blue": "#268BD2",
"brightBlack": "#505354",
"brightBlue": "#3188c7",
"brightCyan": "#94D8E5",
"brightGreen": "#B7EB46",
"brightPurple": "#BFA0FE",
"brightRed": "#d4326e",
"brightWhite": "#F8F8F2",
"brightYellow": "#FEED6C",
"cyan": "#56C2D6",
"foreground": "#CCCCC6",
"green": "#82B414",
"purple": "#8C54FE",
"red": "#F92672",
"white": "#CCCCC6",
"yellow": "#FD971F"
},
{
"name": "Obsidian",
"background": "#283033",
"black": "#000000",
"blue": "#3a9bdb",
"brightBlack": "#555555",
"brightBlue": "#a1d7ff",
"brightCyan": "#ff55ff",
"brightGreen": "#93c863",
"brightPurple": "#55ffff",
"brightRed": "#ff0003",
"brightWhite": "#bbbbbb",
"brightYellow": "#fef874",
"cyan": "#bb00bb",
"foreground": "#cdcdcd",
"green": "#00bb00",
"purple": "#00bbbb",
"red": "#a60001",
"white": "#ffffff",
"yellow": "#fecd22"
},
{
"name": "Ubuntu",
"background": "#300a24",
"black": "#2E3436",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#AD7FA8",
"brightGreen": "#8AE234",
"brightPurple": "#34E2E2",
"brightRed": "#EF2929",
"brightWhite": "#D3D7CF",
"brightYellow": "#FCE94F",
"cyan": "#75507B",
"foreground": "#ffffff",
"green": "#4E9A06",
"purple": "#06989A",
"red": "#CC0000",
"white": "#EEEEEC",
"yellow": "#C4A000"
},
{
"name": "Raspberry",
"background": "#3C0315",
"black": "#282A2E",
"blue": "#0170C5",
"brightBlack": "#676E7A",
"brightBlue": "#80c8ff",
"brightCyan": "#8ABEB7",
"brightGreen": "#B5D680",
"brightPurple": "#AC79BB",
"brightRed": "#BD6D85",
"brightWhite": "#FFFFFD",
"brightYellow": "#FFFD76",
"cyan": "#3F8D83",
"foreground": "#FFFFFD",
"green": "#76AB23",
"purple": "#7D498F",
"red": "#BD0940",
"white": "#FFFFFD",
"yellow": "#E0DE48"
}
],
// 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"
},
{
"command": "newTab",
"keys": "ctrl+n"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment