Skip to content

Instantly share code, notes, and snippets.

@aa6my
Forked from easel/POSH Stuff
Created May 6, 2020 13:49
Show Gist options
  • Save aa6my/cc83234fd4e6709e7f19e5a52580f518 to your computer and use it in GitHub Desktop.
Save aa6my/cc83234fd4e6709e7f19e5a52580f518 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