Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rakheshster/iterm2windowsterminal
PowerShell script that converts iTerm2 colors to Windows Terminal colors
https://github.com/rakheshster/iterm2windowsterminal
iterm2 powershell terminal windows
Last synced: 4 days ago
JSON representation
PowerShell script that converts iTerm2 colors to Windows Terminal colors
- Host: GitHub
- URL: https://github.com/rakheshster/iterm2windowsterminal
- Owner: rakheshster
- License: mit
- Created: 2020-06-20T17:30:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-11T21:02:17.000Z (over 3 years ago)
- Last Synced: 2023-08-03T05:59:44.924Z (over 1 year ago)
- Topics: iterm2, powershell, terminal, windows
- Language: PowerShell
- Homepage:
- Size: 171 KB
- Stars: 22
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://iterm2colorschemes.com) for instance.
Example:
![Running the Script](Screenshot.png)
The above pulls the Ubuntu colour theme, which I can input into Windows Terminal to get something like this:
![Ubuntu colors in Windows Terminal](Screenshot2.png)
See [this blog post](https://rakhesh.com/powershell/converting-iterm2-colours-to-windows-terminal-colors/) for the background on this.
Tested with PowerShell 7/ PowerShell Core so it works on Linux & macOS.