Skip to content

Instantly share code, notes, and snippets.

@easel
Last active May 6, 2020 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save easel/8aeaf4a3bc80afe3b8967e203283c51e to your computer and use it in GitHub Desktop.
Save easel/8aeaf4a3bc80afe3b8967e203283c51e to your computer and use it in GitHub Desktop.
Windows Terminal Configuration
# In microsoft terminal preview, make sure to clear out any old bogus configuration, then paste the following.
# The fontFace line needs to go into each terminal window.
# The word delimiters makes double click select normal files and urls properly.
# The keybindings fixes copy and paste and tab selection
#
# https://github.com/microsoft/cascadia-code/releases
# Add "fontFace": "Cascadia Code"
#
# Or https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/CascadiaCode/complete/Caskaydia%20Cove%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.ttf
# With
# "fontFace": "CaskaydiaCove NF"
"wordDelimiters": " /\\()\"'.,:;<>~!@#$%^&*|+=[]{}~?\u2502",
"keybindings": [
{ "command" : "copy", "keys" : ["ctrl+c"] },
{ "command" : "paste", "keys" : ["ctrl+v"] },
{ "command": "nextTab", "keys": ["ctrl+alt+right"] },
{ "command": "prevTab", "keys": ["ctrl+alt+left"] }
]
dotnet tool update -g --version 7.0.0-rc.3 PowerShell
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
Then run "notepad $PROFILE" and add these lines to the end:
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Paradox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment