This is my Repertory for my personal "Oh my posh" settings
Install
winget install JanDeDobbeleer.OhMyPosh
Update
winget upgrade oh-my-posh
This command needs to be executed as admin. The fonts are installed system wide.
Install Font
oh-my-posh font install
Once you have installed a Nerd Font, you will need to configure the Windows Terminal to use it. This can be easily done by modifying the Windows Terminal settings (default shortcut: CTRL + SHIFT + ,
).
Get shell
oh-my-posh get shell
Add Profile to powershell
Open your Profile-File with notepad $PROFILE
and then add oh-my-posh init pwsh | Invoke-Expression
to it. Then you simply reload the Profile with . $PROFILE
Initialize your Profile
oh-my-posh init pwsh --config https://raw.githubusercontent.com/swisi/myposh/main/swisi.omp.json | Invoke-Expression
. $PROFILE