Skip to content

Instantly share code, notes, and snippets.

@christippett
Last active April 2, 2020 09:16
Show Gist options
  • Save christippett/deca563850ef7215ea65b4ae49822bad to your computer and use it in GitHub Desktop.
Save christippett/deca563850ef7215ea65b4ae49822bad to your computer and use it in GitHub Desktop.
Windows Terminal Settings
// 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": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
"alwaysShowTabs": true,
"showTabsInTitlebar": true,
"copyOnSelect": false,
"profiles":
{
"defaults":
{
// Put settings here that you want to apply to all profiles
"fontFace": "Source Code Pro",
"colorScheme": "One Half Dark",
"snapOnInput": true,
"cursorShape": "vintage"
},
"list":
[
{
"guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
"hidden": false,
"name": "WSL",
"startingDirectory": "\\\\wsl$\\Ubuntu-18.04\\home\\chris",
"source": "Windows.Terminal.Wsl"
},
{
// Make changes here to the powershell.exe profile
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false
},
{
// Make changes here to the cmd.exe profile
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd",
"commandline": "cmd.exe",
"hidden": false
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": true,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}
]
},
// Add custom color schemes to this array
"schemes": [],
// Add any keybinding overrides to this array.
// To unbind a default keybinding, set the command to "unbound"
"keybindings": [
{ "command": "closeWindow", "keys": ["alt+f4"] },
{ "command": "splitHorizontal", "keys": ["ctrl+-"]},
{ "command": "splitVertical", "keys": ["ctrl+\\"]},
{ "command": "newTab", "keys": ["ctrl+t"]},
{ "command": "closePane", "keys": ["ctrl+shift+w"]},
{ "command": "closeTab", "keys": ["ctrl+w"]},
{ "command": "paste", "keys": ["ctrl+shift+v"]},
{ "command": {"action": "copy", "trimWhitespace": true}, "keys": ["ctrl+shift+c"]}
]
}

Open Windows Terminal as administrator.

set-executionpolicy remotesigned
choco install git
choco install ConEmu
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
Install-Module -Name PSReadLine -Scope CurrentUser -Force -SkipPublisherCheck

Run notepad $PROFILE and enter the following:

Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Paradox

References:

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