Oh My Posh is a custom prompt engine for any shell that has the ability to adjust the prompt string with a function or variable.
Questions tagged [oh-my-posh]
33 questions
12
votes
4 answers
Tried to install oh-my-posh but it tells me that "the term is not recognized as..."
So I tried installing oh-my-posh for windows with
Install-Module oh-my-posh -Scope CurrentUser
and typed
Get-PoshThemes
to see the available themes which I downloaded.
But I got this message
Get-PoshThemes : The term 'Get-PoshThemes' is not…

shuto235
- 121
- 1
- 1
- 3
6
votes
1 answer
windows terminal(oh my posh) not showing git status after whatever I have tried
description
I import posh-git but don't use its prompt style. and my windows terminal $PROFILE like:
Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt -Theme default
#$env:POSH_GIT_ENABLED = $true
I have read the similar question…

wMike
- 61
- 1
- 2
5
votes
4 answers
How to remove environment prefix in Powershell console
Does anybody knows how I can remove (venv) prefix that is displayed in my Powershell Terminal window? I know that this is purely cosmetic, but I'd love to remove it since I'm using Oh My Posh.
I've attached screenshot.

MrTeatime
- 183
- 1
- 6
3
votes
2 answers
Get-PSReadLineKeyHandler : A parameter cannot be found that matches parameter name 'Key'. What is this in Oh My Posh?
Get-PSReadLineKeyHandler : A parameter cannot be found that matches parameter name 'Key'.
At line:380 char:43
+ if ((Get-PSReadLineKeyHandler -Key Spacebar).Function -eq ...
+ ~~~~
+…

Bipul Hf
- 33
- 1
- 5
2
votes
1 answer
How can i see conda env in oh my posh theme in powershell?
I have install oh-my-posh, and i use blue-owl theme. From documentation i add these lines of code to json file;
{
"type": "python",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#100e23",
"background":…
user20479187
2
votes
1 answer
The term 'oh-my-posh' is not recognized as a name of a cmdlet
I have configured oh-my-posh to be working on powershell and all is working as expected if I run powershell from windows terminal (which is what the document say clearly)
However I tend to run powershell from my WSL terminal as I have alias like…

Oggy
- 45
- 3
2
votes
1 answer
VS code terminal "WARNING: The prediction 'ListView' is temporarily disabled because the current window size of the console is too small"
I am using VS code and the terminal gives me this warning.
WARNING: The prediction 'ListView' is temporarily disabled because the current window size of the console is too small. To use the 'ListView', please make sure the 'WindowWidth' is not less…

Daniel Forrest
- 21
- 1
2
votes
1 answer
powershell + oh my posh + pure theme - what is the disk glyph means in git directory
in powershell with oh my posh installed and the pure theme activated, when the working tree is clean, I see a floppy disk glyph with a number after it like the picture below:
Anyone knows what the disk glyph and the number beside it means?

Elder1360
- 83
- 1
- 7
2
votes
3 answers
Package Manager Console prompt is messed up after installing oh-my-posh
I have oh-my-posh and posh-git installed and added to my Powershell profile, which looks like this
Import-Module posh-git
Import-Module oh-my-posh
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\thecyberden.omp.json" | Invoke-Expression
I'm…

Ben Rubin
- 6,909
- 7
- 35
- 82
2
votes
3 answers
Icons not showing in powershell after installing posh-git
Today I installed posh-git in the PowerShell but the icons are not showing instead showing a rectangle box with a question mark inside. Below are the steps I followed to:
Install-Module oh-my-posh -Scope CurrentUser
then
Install-Module posh-git…

Barefaced Bear
- 688
- 1
- 9
- 30
1
vote
1 answer
Terminal Glyphs are not showing
this has been a problem for a while now, my windows terminal is not showing any glyphs or icons, instead a unicode box shows or even nothing... what do i do to fix it?
screenshot1
screenshot2
i thought it would be the font but it is set to Cascadia…

Joe
- 11
- 1
1
vote
1 answer
VS Code terminal showing ERROR on every line with oh-my-posh
My terminal in VS Code has since the previous update shown the word ERROR on every single line. I have installed oh-my-posh a little while back to make the terminal more pleasant to look at and give me some basic information.
Does anyone know where…
user18890175
1
vote
2 answers
When i install oh my posh get an error , how to fix it?
how to fix it?
help me fix an error
Oh My Posh Error:
open https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/v7.59.0/themes/default.omp.json: The filename, directory name, or volume label syntax is incorrect.

imydok
- 11
- 1
- 2
1
vote
0 answers
Can't get Oh My Posh foreground_templates to work for 'text' segment
I cannot seem to get foreground_templates to work for a text segment. Below is the last block of my prompt.
If I am running with normal privileges, I should see just a green "crescent moon" prompt character. If I am running with elevated…

spinard
- 21
- 3
1
vote
1 answer
how to make repo status appear in posh git (oh-my-posh)
so basically i want the repository status to be shown and not hidden like this example :
and my terminal without theme shows the repo status but when i apply a theme the numbers (repo status ) disapear like yo see in this pic :
so any fix to that…

gouder hicham
- 123
- 10