Skip to main content
Oh My Posh transforms your PowerShell prompt with git status, execution time, error indicators, and custom segments - all with beautiful theming.

Installation

Verify installation:

Refresh PATH

If oh-my-posh command is not found after installation:

Configuration

Create Theme Directory

PowerShell Integration

Add to conf.d/60-prompt.ps1:

Exploring Built-in Themes

List Available Themes

Preview a Theme

Preview any built-in theme without changing your configuration:
Popular themes:
  • agnoster.omp.json - Classic minimal theme
  • paradox.omp.json - Detailed with git info
  • powerlevel10k_rainbow.omp.json - Colorful powerline
  • atomic.omp.json - Clean two-line prompt
  • jandedobbeleer.omp.json - Creator’s personal theme

Creating a Custom Theme

Basic Theme Structure

Create ~/.config/oh-my-posh/theme.omp.json:

Vesper Theme Colors

Use these colors in your custom theme to match the Vesper palette:

Theme Styles

Classic powerline style with connected segments:

Testing Your Theme

Test theme changes immediately:
Or reload your PowerShell profile:

Exporting Theme Configuration

Export current theme to customize it:

Troubleshooting

Install a Nerd Font:
Configure your terminal to use the Nerd Font in WezTerm:
Check if Oh My Posh is in PATH:
Verify theme file exists:
Disable expensive segments like git status fetching:
Or increase cache timeout:

Advanced Configuration

Show segments only in specific contexts:
This only appears when Python files are detected in the current directory.