Skip to content

Instantly share code, notes, and snippets.

@jerkovicl
Created February 18, 2020 15:25
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 jerkovicl/b5cc77082da58ee6b3893486e534ab1f to your computer and use it in GitHub Desktop.
Save jerkovicl/b5cc77082da58ee6b3893486e534ab1f to your computer and use it in GitHub Desktop.
script to download iTerm2 Color Scheme for Windows Terminal
# List of themes here: https://github.com/mbadolato/iTerm2-Color-Schemes/tree/master/windowsterminal
$Theme = "ayu"
$path = "$Env:LocalAppData/packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/profiles.json"
$Conf = gc $path | ConvertFrom-Json
$Conf.schemes += irm https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/windowsterminal/$Theme.json
$Conf | ConvertTo-json -Depth 10 | Set-Content $path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment