Important: This theme primarily relies on the terminal color scheme, so it may look different from the screenshot above!
- Install a compatible font
- Open Terminal settings by pressing
Ctrl + ,
and set a Nerd Font inProfiles > Defaults > Appearance > Font face
- Install oh-my-posh
- Install posh-git
Install-Module posh-git -Scope CurrentUser -Force
- Run the following command to save this theme configuration file in your home directory:
curl https://raw.githubusercontent.com/denan63/posh10k/main/posh10k_rainbow.omp.json -o "$HOME\posh10k_rainbow.omp.json"
- Open
$PROFILE
in your preferred text editor (e.g.,nvim $PROFILE
) and add the following lines:
Import-Module posh-git
oh-my-posh init pwsh --config ~/posh10k_rainbow.omp.json | Invoke-Expression
- Restart the terminal.
If you want to customize this theme, edit the .json
file in a text editor of your choice.
The full tutorial is available here.
File posh10k_rainbow.omp.json
is a modified version of the original Jan De Dobbeleer's theme (MIT License).