# Reported issues for Oh My Posh Validator

Pod holds 9 of 9 problems reported by people outside the maintainer team. Issues filed by the project's own owners, members and collaborators are excluded entirely — a maintainer's release checklist is not a warning to a prospective user.

Back to [Oh My Posh Validator](/mcp/oh-my-posh-validator).

## Most discussed

### PowerShell cold-start: ~1.9s init parse for ~12ms render (v29.14.0)

## What happened?

In PowerShell, `oh-my-posh init pwsh | Invoke-Expression` adds **~1.9 seconds** to every cold shell start on a fast modern machine, even though the prompt itself renders in **~12 ms**. The cost is entirely in PowerShell parsing and executing the generated `init.<hash>.ps1` (562 lines / 25 KB): not in the exe spawn, and not in oh-my-posh's prompt rendering.

I'm filing this as a fresh data point because the closest prior report (#6310) was closed without an actionable resolutio

[Read the thread](https://github.com/JanDeDobbeleer/oh-my-posh/issues/7539) · 2026-05-19 · closed · outside contributor · 3 comments

### New install doesn't set $ENV:POSH_THEMES_PATH

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

### What happened?

A bug happened!

I'm trying to do a new install on Windows 11 24H2 PS 7.5.4

I tried winget and manual installs as administrator

and restarted the terminal

But the Env var POSH_THEMES_PATH is not created

And I don't see an 'oh-my-posh' directory created under $Env:localappdata/Programs

### Theme

What ever the default is

### What OS are you seeing the problem on?

Windows

### Which shell ar

[Read the thread](https://github.com/JanDeDobbeleer/oh-my-posh/issues/7301) · 2026-02-11 · closed · external user · 5 comments

### Fix zsh init template to avoid fatal error under set -u (use safe parameter checks)

Title: Fix zsh init template to avoid fatal error under `set -u` (use safe parameter checks)

Summary:

When oh-my-posh generates zsh init scripts (e.g. `init.*.zsh`) the generated prompt hook contains a conditional like:

    if [ $_omp_start_time ]
    then
      ...
    fi

This test expands `$_omp_start_time` directly. If a shell or a wrapper script uses `set -u` (nounset), expanding an unset parameter is fatal and causes `zsh: : parameter not set` errors when the shell runs the prompt hook.

[Read the thread](https://github.com/JanDeDobbeleer/oh-my-posh/issues/7027) · 2025-12-08 · closed · external user · 1 comment

### Change directory using fish alt-left and alt-right does not update prompt path

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

### What happened?

I use the fish `Alt+←` and `Alt+→` commands to navigate my directory history -- these are [bound to the `prevd` and `nextd` commands](https://fishshell.com/docs/current/interactive.html#id13).

However, when using `Alt+←` and `Alt+→` oh-my-posh prompt does not update. When using the `prevd` and `nextd` commands, the prompt does update. If I type in `pwd` I can see that the directory has in fact cha

[Read the thread](https://github.com/JanDeDobbeleer/oh-my-posh/issues/5567) · 2024-09-05 · closed · outside contributor · 3 comments

### Website dependencies do not include `react-router-dom` for pnpm

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

### What happened?

When building the docs website with `pnpm install` and then running with `pnpm start` (though that script name should probably be changed to `dev`), the website was unable to load citing a lack of "react-router-dom".

I believe this is due to `react-router-dom` not being explicitly added in `package.json` as checking the repo's history it appears in the `package-lock.json` consistently but not the 

[Read the thread](https://github.com/JanDeDobbeleer/oh-my-posh/issues/5020) · 2024-06-07 · closed · outside contributor · 4 comments

### Allow .Env.VarName for mapped_locations

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

### What would you like to see changed/added?

Currently `.Env.VarName` are not resolved and I have to set absolute path in `mapped_locations`

```json
"properties": {
  "folder_separator_icon": "<transparent>  </>",
  "style": "full",
  "mapped_locations": {
	  "E:/OneDrive/*": "",
	  "E:/OneDrive/Mes Documents/*": "",
	  "C:/ProgramData/*": "",
	  "C:/Users/Fred/*": "",
	  "C:/Windows/*": ""
}
```

[Read the thread](https://github.com/JanDeDobbeleer/oh-my-posh/issues/3084) · 2022-11-15 · closed · external user · 3 comments

### Commit a200ee73ff0c145 introduces a 2-3 second runtime depending on the theme on native linux

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

### What happened?

I bisected the issue down to commit a200ee73ff0c145. With this commit generating the prompt takes seconds, it does not happen on Darwin though with the same shell.

### Theme

Personal theme:

```
{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "final_space": false,
  "osc99": true,
  "console_title": true,
  "console_title_sty

[Read the thread](https://github.com/JanDeDobbeleer/oh-my-posh/issues/1601) · 2022-01-17 · closed · outside contributor · 18 comments

### Battery info not displaying when unplugged

### Prerequisites

- [x] I have read and understand the `CONTRIBUTING` guide
- [x] I looked for duplicate issues before submitting this one

### Description

When I unplug my laptop, the battery segment indicates an error state.
When I run this powershell command locally I get a valid reponse:

`(Get-WmiObject win32_battery).estimatedChargeRemaining`


### Environment

- Oh my Posh version: 3
- Theme: Custom
- Operating System: Windows 10
- Shell: Powershell
- Terminal: Window

[Read the thread](https://github.com/JanDeDobbeleer/oh-my-posh/issues/737) · 2021-05-24 · closed · outside contributor · 30 comments

## Most recent

### Unable to pull the json theme file from the remote repository and apply it successfully😣

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

### What happened?

I'm not sure if this is a bug or an API adjustment,  I'll mention it in the bug category first~🙏
I can guarantee that there is no problem in v23+ < v24, because I upgraded to the latest version in v23.20.3. And before I raised this question, I also searched for related issues, but none of them were successfully resolved. Maybe it's because of the important changes in the latest version that no one h

[Read the thread](https://github.com/JanDeDobbeleer/oh-my-posh/issues/5895) · 2024-11-16 · closed · external user · 0 comments

The remaining reports are on [the project's issue tracker](https://github.com/JanDeDobbeleer/oh-my-posh/issues).
