This theme was created for the new Windows Terminal.
Install the software listed above. For Oh-my-Posh this is the Official GitHub repo
From the Microsoft Official GitHub repo.
Unzip CascadiaCodePL.ttf
, Open font settings then drag and drop the font.
Open Windows terminal and go to settings.
Update the file with this settings.
file: settings.json
{
"defaultProfile": "{your-powershell-guid}",
"profiles": {
"defaults": {
// You must have Cascadia code installed otherwise
// Use another font of your choice.
"fontFace": "Cascadia code PL",
"fontSize": 12
},
"list": [
// ... defaults
{
"guid": "{your-powershell-guid}",
"hidden": false,
"name": "PowerShell",
// I use core PowershellCore
"source": "Windows.Terminal.PowershellCore",
"background": "#1b1b1b",
"cursorColor": "#F2F2F2",
"snapOnInput": true
}
]
}
}
First go to PowerShell dir.
PowerShell
> $powerShellPath=[System.IO.Path]::GetDirectoryName($profile)
> cd $powerShellPath
It should look like this.
Now for simplicity open the folder
> ii .
Then navigate to themes under /PowerShell/oh-my-posh/{3.XX}/themes
.
And copy paw.omp.json
Note: You must have installed oh-my-posh.
Open Microsoft.PowerShell_profile.ps1
PowerShell
> notepad $PROFILE
Now copy this settings.
file: Microsoft.PowerShell_profile.ps1
Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt paw
Set-PSReadLineOption -colors @{
Command = "#7EAF3D"
String = "#CE9178"
Number = "#B5CEA8"
Type = "#9CDCFE"
Keyword = "#4FC1FF"
Operator = "#D4D4D4"
Parameter = "#858585"
Member = "#4FC1FF"
ContinuationPrompt = "#F4C742"
Emphasis = "#0EF600"
Comment = "#6A9955"
Default = "#D4D4D4"
Selection = "`e[96;100m" #Color Bright Cyan, BG Color Bright Black
InlinePrediction = "#4FC1FF"
}