Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.14 KB

oh-my-posh.md

File metadata and controls

51 lines (31 loc) · 1.14 KB

Oh My Posh

Get a Nerd Font

  1. Download Caskaydia Cove Nerd Font.
  2. Install Caskaydia Cove Nerd Font Complete Mono Windows Compatible.ttf.
  3. In PowerShell, set CaskaydiaCove NF as the default font. (Right-clck title bar > Defaults > Font)

Install Oh My Posh

In PowerShell:

winget install oh-my-posh

Get a Theme

  1. Download a theme.
  2. Save to C:\Users\wcd\.theme-name.omp.json.

Set Firewall Rule

Get the Oh My Posh .exe path and ensure your firewall allows this URI.

(Get-Command oh-my-posh).Source
# C:\Users\wcd\AppData\Local\Programs\oh-my-posh\bin\oh-my-posh.exe

Add to PowerShell Profile

Add this to the All Users profile and restart PS - see PowerShell.

oh-my-posh init pwsh --config ~/.theme-name.omp.json | Invoke-Expression

Update

winget upgrade oh-my-posh