Closed jgarza9788 closed 1 year ago
@jgarza9788 the properties need to be inside the properties blocks:
{
"type": "python",
"style": "diamond",
"leading_diamond": "\ue0b6",
"trailing_diamond": "\ue0b4 ",
"foreground": "#0C0C0C",
"background": "#66d9ef",
"properties": {
"home_enabled": false,
"display_default": false,
"display_mode": "files"
},
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Major }}.{{ .Minor }}{{ end }} "
}
that makes so much sense now. thanks, and happy thanksgiving (and the rest of the holidays also)
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
note: i have seen that other bugs like this have some in, they provided a clue... but still not working
A bug happened! oh-my-posh version: 12.18.3 windows terminal, powershell, on windows 10
the Python part of the prompt is still rendering even though i do not have py files in this folder. and display_mode is false.
Theme
my theme is custom
What OS are you seeing the problem on?
No response
Which shell are you using?
No response
Log output