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:| Element | Color | Hex |
|---|---|---|
| Primary accent | Orange | #FFC799 |
| Secondary accent | Gold | #FFCFA8 |
| Success/Git | Green | #90B99F |
| Warning | Yellow | #E6B99D |
| Error | Red | #F5A191 |
| Foreground | White | #FFFFFF |
| Background | Dark | #101010 |
| Muted | Gray | #505050 |
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
