Skip to content

Instantly share code, notes, and snippets.

@giggio
Last active August 22, 2024 01:47
Show Gist options
  • Save giggio/d4cf676d93b89a2f78cb7f25c01fdcda to your computer and use it in GitHub Desktop.
Save giggio/d4cf676d93b89a2f78cb7f25c01fdcda to your computer and use it in GitHub Desktop.
Giovanni Bassi's Windows terminal config
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema-preview",
// "$schema": "https://raw.githubusercontent.com/microsoft/terminal/main/doc/cascadia/profiles.schema.json", // canary
// "$schema": "https://aka.ms/terminal-profiles-schema-preview", // preview
// "$schema": "https://aka.ms/terminal-profiles-schema", // stable
"actions":
[
{
"command":
{
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"id": "User.splitPane.A6751878",
"keys": "alt+shift+d"
},
{
"command":
{
"action": "moveFocus",
"direction": "down"
},
"id": "User.moveFocus.F747588A",
"keys": "ctrl+shift+j"
},
{
"command":
{
"action": "moveFocus",
"direction": "left"
},
"id": "User.moveFocus.2A0DA8E0",
"keys": "ctrl+shift+h"
},
{
"command":
{
"action": "resizePane",
"direction": "left"
},
"id": "User.resizePane.2A0DA8E0",
"keys": "alt+shift+h"
},
{
"command":
{
"action": "splitPane",
"split": "down",
"splitMode": "duplicate"
},
"id": "User.splitPane.10B260D2",
"keys": "ctrl+alt+h"
},
{
"command":
{
"action": "resizePane",
"direction": "down"
},
"id": "User.resizePane.F747588A",
"keys": "alt+shift+j"
},
{
"command":
{
"action": "globalSummon",
"monitor": "any"
},
"id": "User.globalSummon.C79E99FF",
"keys": "win+\\"
},
{
"command":
{
"action": "resizePane",
"direction": "up"
},
"id": "User.resizePane.6CD791B",
"keys": "alt+shift+k"
},
{
"command": "unbound",
"keys": "ctrl+shift+1"
},
{
"command": "unbound",
"keys": "ctrl+shift+2"
},
{
"command": "unbound",
"keys": "ctrl+shift+7"
},
{
"command": "unbound",
"keys": "ctrl+shift+8"
},
{
"command": "unbound",
"keys": "ctrl+shift+9"
},
{
"command":
{
"action": "splitPane",
"index": 1,
"split": "right"
},
"id": "User.splitPane.55285006",
"keys": "ctrl+alt+u"
},
{
"command":
{
"action": "newTab",
"index": 1
},
"id": "User.newTab.1FA5EB5",
"keys": "ctrl+shift+y"
},
{
"command":
{
"action": "moveFocus",
"direction": "up"
},
"id": "User.moveFocus.6CD791B",
"keys": "ctrl+shift+k"
},
{
"command":
{
"action": "moveFocus",
"direction": "right"
},
"id": "User.moveFocus.87C324ED",
"keys": "ctrl+shift+l"
},
{
"command":
{
"action": "resizePane",
"direction": "right"
},
"id": "User.resizePane.87C324ED",
"keys": "alt+shift+l"
},
{
"command":
{
"action": "splitPane",
"split": "right",
"splitMode": "duplicate"
},
"id": "User.splitPane.FEF0D40B",
"keys": "ctrl+alt+v"
}
],
"compatibility.allowHeadless": true,
"copyFormatting": "rtf",
"copyOnSelect": false,
"defaultProfile": "{a678124d-e03c-4420-be16-163c50294eee}",
"firstWindowPreference": "defaultProfile",
"launchMode": "maximized",
"newTabMenu":
[
{
"profile": "{a678124d-e03c-4420-be16-163c50294eee}",
"type": "profile"
},
{
"profile": "{aab79973-318f-43b6-a9bc-b4096493753f}",
"type": "profile"
},
{
"profile": "{aa4ca12f-fee3-46e0-9f43-05729b061e96}",
"type": "profile"
},
{
"profile": "{2606165a-a7a0-4ac4-8e8c-36dd487fc9cb}",
"type": "profile"
},
{
"profile": "{51855cb2-8cce-5362-8f54-464b92b32386}",
"type": "profile"
},
{
"profile": "{d1ea39af-b74d-4457-8f81-12141350771c}",
"type": "profile"
},
{
"profile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"type": "profile"
},
{
"profile": "{0caa0dad-35be-5f56-a8ff-afceeeaa1237}",
"type": "profile"
},
{
"profile": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"type": "profile"
},
{
"profile": "{44386063-42f6-4d83-b38d-6ce7a19c09b9}",
"type": "profile"
},
{
"profile": "{6ce23a91-02cc-4b9a-b8d9-ea1df620eb1f}",
"type": "profile"
},
{
"allowEmpty": false,
"entries":
[
{
"profile": "{8184f96d-53c5-4110-8f0e-cde3fc5ffd16}",
"type": "profile"
},
{
"profile": "{c03dff7a-783b-47f4-8d01-0c124b907891}",
"type": "profile"
},
{
"profile": "{dbcfe738-88d1-4bcd-b448-63e3963b4fe6}",
"type": "profile"
},
{
"profile": "{ea592816-0bca-4f43-b6f6-07121a3bd29b}",
"type": "profile"
}
],
"icon": null,
"inline": "never",
"name": "SSH",
"type": "folder"
},
{
"allowEmpty": false,
"entries":
[
{
"profile": "{1777cdf0-b2c4-5a63-a204-eb60f349ea7c}",
"type": "profile"
},
{
"profile": "{b2d6503a-d0e6-5c93-b063-25b165a68977}",
"type": "profile"
}
],
"icon": null,
"inline": "never",
"name": "WSL",
"type": "folder"
},
{
"allowEmpty": false,
"entries":
[
{
"profile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"type": "profile"
},
{
"profile": "{bced867a-e862-46e1-8fd2-95cdb7b4f0d5}",
"type": "profile"
}
],
"icon": null,
"inline": "never",
"name": "Plain",
"type": "folder"
},
{
"allowEmpty": false,
"entries":
[
{
"profile": "{8b1318e8-d24d-4ecc-a161-d10b6823f980}",
"type": "profile"
},
{
"profile": "{899efbb2-7f8c-43be-8ba2-850258183f6c}",
"type": "profile"
},
{
"profile": "{357a91b7-441e-45b0-988a-937d4173aec4}",
"type": "profile"
}
],
"icon": null,
"inline": "never",
"name": "No profile",
"type": "folder"
},
{
"allowEmpty": false,
"entries":
[
{
"profile": "{e906b7aa-3a1e-41fb-9b20-cbb8ff680e22}",
"type": "profile"
},
{
"profile": "{2c378660-4a7a-4c58-a98d-424148061954}",
"type": "profile"
},
{
"profile": "{a844f1e6-043b-497f-889a-469b76337459}",
"type": "profile"
},
{
"profile": "{33db8fed-2d53-4b84-96ee-4026bc7a81c2}",
"type": "profile"
},
{
"profile": "{4f1edcff-38bf-4015-be2e-3df519a15476}",
"type": "profile"
}
],
"icon": null,
"inline": "never",
"name": "Silly",
"type": "folder"
},
{
"allowEmpty": false,
"entries":
[
{
"profile": "{41e6b59b-dc71-5269-af3b-1132aab73db1}",
"type": "profile"
},
{
"profile": "{65bde692-12e3-5d72-bd0e-e219c93f8184}",
"type": "profile"
},
{
"profile": "{63e31163-583f-5850-9c1e-24e227dd2da9}",
"type": "profile"
}
],
"icon": null,
"inline": "never",
"name": "Others",
"type": "folder"
},
{
"type": "remainingProfiles"
}
],
"profiles":
{
"defaults":
{
"autoMarkPrompts": true,
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/windows-small.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity": 0.2,
"backgroundImageStretchMode": "none",
"bellStyle": "none",
"closeOnExit": "automatic",
"colorScheme": "Campbell",
"cursorColor": "#FFFFFF",
"cursorShape": "filledBox",
"experimental.rightClickContextMenu": true,
"font":
{
"face": "CaskaydiaCove NF",
"size": 12
},
"historySize": 50000,
"opacity": 100,
"padding": "0, 0, 0, 0",
"showMarksOnScrollbar": true,
"snapOnInput": true,
"startingDirectory": "%USERPROFILE%",
"suppressApplicationTitle": true,
"useAcrylic": false
},
"list":
[
{
"guid": "{a678124d-e03c-4420-be16-163c50294eee}",
"name": "Nushell",
"commandline": "C:/Users/giggi/scoop/shims/nu.exe",
"icon": "ms-appdata:///roaming/images/icons/nushell.png"
},
{
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/cof_orange_hex.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity": 0.2,
"backgroundImageStretchMode": "none",
"colorScheme": "Ubuntu",
"commandline": "wsl --distribution ubuntu /home/giggio/.nix-profile/bin/nu --login --interactive",
"guid": "{aa4ca12f-fee3-46e0-9f43-05729b061e96}",
"icon": "ms-appdata:///roaming/images/icons/ubuntu.ico",
"name": "Ubuntu (Nushell)",
"opacity": 100,
"startingDirectory": "/home/giggio",
"tabColor": "#E85420"
},
{
"commandline": "C:/Program Files/PowerShell/7/pwsh.exe -NoLogo",
"guid": "{2606165a-a7a0-4ac4-8e8c-36dd487fc9cb}",
"icon": "ms-appdata:///roaming/images/icons/pwsh.png",
"name": "Posh",
"tabColor": "#4070C5",
"tabTitle": "PoSh7"
},
{
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/cof_orange_hex.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity": 0.2,
"backgroundImageStretchMode": "none",
"colorScheme": "Ubuntu",
"guid": "{51855cb2-8cce-5362-8f54-464b92b32386}",
"hidden": false,
"icon": "ms-appdata:///roaming/images/icons/ubuntu.ico",
"name": "Ubuntu",
"opacity": 100,
"source": "CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc",
"tabColor": "#E85420"
},
{
"commandline": "C:\\WINDOWS\\system32\\cmd.exe /K clink inject --profile c:/p/clinkfiles --quiet",
"guid": "{d1ea39af-b74d-4457-8f81-12141350771c}",
"icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
"name": "cmd",
"startingDirectory": "c:/p/",
"tabTitle": "cmd"
},
{
"commandline": "powershell.exe -NoLogo",
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"name": "Windows PowerShell"
},
{
"commandline": "yori.exe",
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa1237}",
"icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
"name": "Yori",
"tabTitle": "Yori"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/matrix.gif",
"backgroundImageOpacity": 0.3,
"backgroundImageStretchMode": "uniformToFill",
"commandline": "C:/Program Files/PowerShell/7/pwsh.exe -NoLogo",
"guid": "{e906b7aa-3a1e-41fb-9b20-cbb8ff680e22}",
"icon": "ms-appdata:///roaming/images/icons/neo2.png",
"name": "PowerShell (Matrix)",
"tabTitle": "PoSh7-M"
},
{
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/ninjacat.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity": 0.15,
"backgroundImageStretchMode": "uniform",
"commandline": "C:/Program Files/PowerShell/7/pwsh.exe -NoLogo",
"guid": "{2c378660-4a7a-4c58-a98d-424148061954}",
"icon": "ms-appdata:///roaming/images/icons/pwsh.png",
"name": "PowerShell (NinjaCat)",
"tabTitle": "PoSh7-N"
},
{
"background": "#1F2721",
"backgroundImage": null,
"colorScheme": "Vintage2",
"commandline": "C:/Program Files/PowerShell/7/pwsh.exe -NoLogo",
"cursorHeight": 40,
"cursorShape": "vintage",
"experimental.retroTerminalEffect": true,
"font":
{
"face": "PxPlus IBM CGAthin-2y",
"size": 16
},
"guid": "{a844f1e6-043b-497f-889a-469b76337459}",
"icon": "ms-appdata:///roaming/images/icons/pwsh.png",
"name": "PowerShell 7 (Vintage)",
"tabTitle": "PoSh7-V"
},
{
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/tux-vintage.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity": 0.1,
"backgroundImageStretchMode": "none",
"colorScheme": "Ubuntu",
"commandline": "wsl --distribution ubuntu",
"cursorHeight": 40,
"cursorShape": "vintage",
"experimental.retroTerminalEffect": true,
"font":
{
"face": "PxPlus IBM CGAthin-2y",
"size": 16
},
"guid": "{33db8fed-2d53-4b84-96ee-4026bc7a81c2}",
"icon": "ms-appdata:///roaming/images/icons/ubuntu.ico",
"name": "Ubuntu (Vintage)",
"startingDirectory": "/home/giggio",
"tabTitle": "Ubuntu-V"
},
{
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/psy1.gif",
"backgroundImageAlignment": "center",
"backgroundImageOpacity": 0.15,
"backgroundImageStretchMode": "uniformToFill",
"colorScheme": "Ubuntu",
"commandline": "wsl --distribution ubuntu",
"guid": "{4f1edcff-38bf-4015-be2e-3df519a15476}",
"icon": "ms-appdata:///roaming/images/icons/ubuntu.ico",
"name": "Ubuntu (colorful)",
"opacity": 70,
"startingDirectory": "/home/giggio",
"tabTitle": "Ubuntu-C",
"useAcrylic": true
},
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"hidden": false,
"name": "cmd (plain)",
"tabTitle": "cmd (plain)"
},
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": true,
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore"
},
{
"backgroundImage": null,
"commandline": "C:/Program Files/PowerShell/7/pwsh.exe -NoLogo",
"guid": "{bced867a-e862-46e1-8fd2-95cdb7b4f0d5}",
"icon": "ms-appdata:///roaming/images/icons/pwsh.png",
"name": "PowerShell 7 (plain)",
"tabTitle": "PoSh7 (plain)"
},
{
"commandline": "C:/Program Files/PowerShell/7/pwsh.exe -NoLogo -NoProfile",
"guid": "{8b1318e8-d24d-4ecc-a161-d10b6823f980}",
"icon": "ms-appdata:///roaming/images/icons/pwsh.png",
"name": "PowerShell (No profile)",
"startingDirectory": "C:/p/",
"tabTitle": "PoSh7-NoProfile"
},
{
"commandline": "powershell.exe -NoLogo -NoProfile",
"guid": "{899efbb2-7f8c-43be-8ba2-850258183f6c}",
"icon": "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
"name": "Windows PowerShell (No profile)",
"startingDirectory": "C:/p/",
"tabTitle": "Windows Powershell-NoProfile"
},
{
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/cof_orange_hex.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity": 0.2,
"backgroundImageStretchMode": "none",
"colorScheme": "Ubuntu",
"commandline": "wsl --distribution ubuntu bash --noprofile --norc",
"guid": "{357a91b7-441e-45b0-988a-937d4173aec4}",
"icon": "ms-appdata:///roaming/images/icons/ubuntu.ico",
"name": "Ubuntu (No profile)",
"opacity": 100,
"startingDirectory": "/home/giggio",
"tabColor": "#E85420"
},
{
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/raspberrypi.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity": 0.4,
"backgroundImageStretchMode": "none",
"commandline": "C:/Program Files/Git/usr/bin/ssh.exe nas",
"guid": "{8184f96d-53c5-4110-8f0e-cde3fc5ffd16}",
"icon": "ms-appdata:///roaming/images/icons/floppydisk2.png",
"name": "NAS",
"tabTitle": "NAS"
},
{
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/raspberrypi.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity": 0.4,
"backgroundImageStretchMode": "none",
"commandline": "C:/Program Files/Git/usr/bin/ssh.exe pi4",
"guid": "{c03dff7a-783b-47f4-8d01-0c124b907891}",
"icon": "ms-appdata:///roaming/images/icons/raspberrypi.png",
"name": "Pi4",
"tabTitle": "Pi4"
},
{
"backgroundImage": "ms-appdata:///roaming/images/backgrounds/router.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity": 0.4,
"backgroundImageStretchMode": "none",
"commandline": "C:/Program Files/Git/usr/bin/ssh.exe router",
"guid": "{ea592816-0bca-4f43-b6f6-07121a3bd29b}",
"icon": "ms-appdata:///roaming/images/icons/router.png",
"name": "Router",
"tabTitle": "Router"
},
{
"guid": "{63e31163-583f-5850-9c1e-24e227dd2da9}",
"hidden": false,
"name": "PowerShell (dotnet global)",
"source": "Windows.Terminal.PowershellCore"
},
{
"commandline": "C:/Users/giggi/scoop/apps/msys2/current/usr/bin/bash.exe --login",
"guid": "{44386063-42f6-4d83-b38d-6ce7a19c09b9}",
"icon": "ms-appdata:///roaming/images/icons/msys2.png",
"name": "MSYS2",
"tabColor": "#894C84",
"tabTitle": "MSYS2"
},
{
"commandline": "C:/Program Files/Git/usr/bin/bash.exe --login",
"guid": "{6ce23a91-02cc-4b9a-b8d9-ea1df620eb1f}",
"icon": "ms-appdata:///roaming/images/icons/git.png",
"name": "GitBash",
"tabColor": "#894C84",
"tabTitle": "GitBash"
},
{
"guid": "{16208362-94fc-5b1f-a491-5b2624d5ab56}",
"hidden": true,
"name": "Visual Studio Debug Console",
"source": "VSDebugConsole"
}
]
},
"schemes":
[
{
"background": "#300A24",
"black": "#300A24",
"blue": "#3465A4",
"brightBlack": "#554E53",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEE",
"brightYellow": "#FCE94F",
"cursorColor": "#FFFFFF",
"cyan": "#06989A",
"foreground": "#EEEEEE",
"green": "#4E9A06",
"name": "Ubuntu",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#300A24",
"black": "#171421",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#08458F",
"brightCyan": "#2C9FB3",
"brightGreen": "#26A269",
"brightPurple": "#A347BA",
"brightRed": "#C01C28",
"brightWhite": "#F2F2F2",
"brightYellow": "#A2734C",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#FFFFFF",
"green": "#26A269",
"name": "Ubuntu-22.04-ColorScheme",
"purple": "#881798",
"red": "#C21A23",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#A2734C"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#000080",
"brightBlack": "#808080",
"brightBlue": "#0000FF",
"brightCyan": "#00FFFF",
"brightGreen": "#00FF00",
"brightPurple": "#FF00FF",
"brightRed": "#FF0000",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFFF00",
"cursorColor": "#FFFFFF",
"cyan": "#008080",
"foreground": "#41FF00",
"green": "#008000",
"name": "Vintage2",
"purple": "#800080",
"red": "#800000",
"selectionBackground": "#FFFFFF",
"white": "#C0C0C0",
"yellow": "#808000"
}
],
"showTerminalTitleInTitlebar": false,
"startOnUserLogin": true,
"tabSwitcherMode": "mru",
"tabWidthMode": "equal",
"themes": [],
"windowingBehavior": "useAnyExisting"
}
@riverstore
Copy link

riverstore commented Jun 9, 2020

Hi, I'm apply this setting on Terminal v1.0.1401.0 and it crash on start, do I miss somethings?

@giggio
Copy link
Author

giggio commented Jun 9, 2020

@riverstore What error to do you get?

@riverstore
Copy link

@giggo Sorry for being late. It don't show any error, it's just show and disappear on opening.

Thanks a lot.

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