Installation
- Winget (Recommended)
- Scoop
Refresh PATH
Ifoh-my-posh command is not found after installation:
Configuration
Create Theme Directory
PowerShell Integration
Add toconf.d/60-prompt.ps1:
Exploring Built-in Themes
List Available Themes
Preview a Theme
Preview any built-in theme without changing your configuration:agnoster.omp.json- Classic minimal themeparadox.omp.json- Detailed with git infopowerlevel10k_rainbow.omp.json- Colorful powerlineatomic.omp.json- Clean two-line promptjandedobbeleer.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:Popular Segments
Path Segment
Path Segment
Git Segment
Git Segment
Execution Time
Execution Time
Exit Code
Exit Code
Battery Status
Battery Status
Node.js Version
Node.js Version
Theme Styles
- Powerline
- Plain
- Diamond
Classic powerline style with connected segments:
Testing Your Theme
Test theme changes immediately:Exporting Theme Configuration
Export current theme to customize it:Troubleshooting
Icons not displaying
Icons not displaying
Install a Nerd Font:Configure your terminal to use the Nerd Font in WezTerm:
Prompt not loading
Prompt not loading
Check if Oh My Posh is in PATH:Verify theme file exists:
Slow prompt rendering
Slow prompt rendering
Disable expensive segments like git status fetching:Or increase cache timeout:
Advanced Configuration
Conditional Segments
Conditional Segments
Show segments only in specific contexts:This only appears when Python files are detected in the current directory.
Related Resources
- WezTerm Configuration - Terminal setup with Vesper theme
- Vesper Theme - Complete color palette reference
- PowerShell Modules - Configure PSReadLine and Terminal-Icons
- Oh My Posh Documentation - Official documentation
