Skip to content

PowerShell script that converts iTerm2 colors to Windows Terminal colors

License

Notifications You must be signed in to change notification settings

rakheshster/iTerm2WindowsTerminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iTerm2 Colors to Windows Terminal colors

The ConvertFrom-iTerm2.ps1 script takes an iTerm2 color scheme and outputs JSON you can put into a Windows Terminal color scheme. You either specify an http(s) URL to an itermcolors file which it will download and output JSON, or pass it an already downloaded file. In case of the former use the -ColorFileURL switch, in case of the latter use the -ColorFile switch.

You can find iTerm2 color schemes here for instance.

Example:

Running the Script

The above pulls the Ubuntu colour theme, which I can input into Windows Terminal to get something like this:

Ubuntu colors in Windows Terminal

See this blog post for the background on this.

Tested with PowerShell 7/ PowerShell Core so it works on Linux & macOS.

About

PowerShell script that converts iTerm2 colors to Windows Terminal colors

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published