Powershell hangs before showing prompt #6361
Unanswered
ikkentim
asked this question in
Troubleshoot
Replies: 4 comments 17 replies
-
|
i noticed i didn't have the latest version. I've updated to Version: 25.13.0. After updating, it still happens. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
i tried i more basic theme, and it still hangs {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"background": "#91ddff",
"foreground": "#100e23",
"leading_powerline_symbol": "\ue0b6",
"powerline_symbol": "\ue0b0",
"properties": {
"folder_separator_icon": " \ue0b1 ",
"style": "full"
},
"style": "powerline",
"template": " {{ .Path }} ",
"type": "path"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#007ACC",
"style": "plain",
"template": "\u276f ",
"type": "text"
}
],
"type": "prompt"
}
],
"version": 3
} |
Beta Was this translation helpful? Give feedback.
9 replies
-
|
Beta Was this translation helpful? Give feedback.
8 replies
-
|
So a thing to try at this point would be to clear the cache, and see if thr problem returns if it does i suspect your AV is scanning the file on access and putting a lock on the file which makes it readonly so ohmy posh can't write. Du no if there is any error or retry handling in this process.Thank you,Greg Hypta
-------- Original message --------From: Tim Potze ***@***.***> Date: 4/29/25 8:01 AM (GMT-06:00) To: JanDeDobbeleer/oh-my-posh ***@***.***> Cc: 0-0-1-0-1-0-1-0 ***@***.***>, Mention ***@***.***> Subject: Re: [JanDeDobbeleer/oh-my-posh] Powershell hangs before showing prompt (Discussion #6361)
I've done a bunch bunch of test runs, and it hangs at the same point in the Process Monitor log
This is the end of the log when omp runs fine:
werkend.png (view on web)
This is the end of the log when omp hangs:
kapot.png (view on web)
Also when omp hangs:
kapot2.png (view on web)
It hangs after the omp cache file was opened and closed.
It appears to start a thread 30 seconds after the hang starts. When omp works just fine it never starts a thread after the cache is accessed
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
My powershell seems to hang either after the profile is loaded, or after a command has been executed; basically when a prompt is being drawn.
Here it hangs before the first prompt is drawn:

Here it hangs later, before drawing another prompt. In this case I've pressed return a few times to trigger the hang:
When it hangs, no more input is accepted and the only way out is closing the session.
My current profile
Debug (in a non-hanging session)
Beta Was this translation helpful? Give feedback.
All reactions