Theres a bug with the formatting, I fixed it for myself, but not exactly sure how to do the PR here. So ill provide the code and let you decide if it should be updated.
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#7eb8da",
"properties": {
"time_format": "01/02/2006 @ 3:04:05 PM MST"
},
"style": "diamond",
"template": "\u250f[<#ffffff>\uf073</> {{ .CurrentDate | date .Format }}]",
"type": "time"
},
{
"foreground": "#7eb8da",
"style": "plain",
"template": "[<#ffffff>\ueb99</> {{ .UserName }} :: <#ffffff>\uf108</> {{ .HostName }}]",
"type": "session"
},
{
"foreground": "#be9ddf",
"style": "diamond",
"template": "[<#ffffff>\ue266</> RAM: {{ (div ((sub .PhysicalTotalMemory .PhysicalAvailableMemory)|float64) 1073741824.0) }}/{{ (div .PhysicalTotalMemory 1073741824.0) }}GB]",
"type": "sysinfo"
},
{
"foreground": "#f36943",
"foreground_templates": [
"{{if eq \"Charging\" .State.String}}#40c4ff{{end}}",
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}",
"{{if eq \"Full\" .State.String}}#4caf50{{end}}"
],
"properties": {
"charged_icon": "<#ffffff>\ue22f</> ",
"charging_icon": "\ueb2d ",
"discharging_icon": "<#ffff00>\uf244</> "
},
"style": "plain",
"template": "[{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295]",
"type": "battery"
},
{
"foreground": "#be9ddf",
"properties": {
"style": "dallas",
"threshold": 0
},
"style": "diamond",
"template": "[<#ffffff>\uf252</> {{ .FormattedMs }}s]",
"type": "executiontime"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#7eb8da",
"properties": {
"style": "full"
},
"style": "plain",
"template": "\u2523[<#ffffff>\uf115</> <#98bfad>{{ .Path }}</>]",
"type": "path"
},
{
"foreground": "#ffa5d8",
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "plain",
"template": "[<#ffffff>{{ .UpstreamIcon }} </>{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} <#ffffff>\uf044</> {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} <#ffffff>\uf046</> {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} <#ffffff>\ueb4b</> {{ .StashCount }}{{ end }}]",
"type": "git"
},
{
"foreground": "#ff0000",
"style": "plain",
"template": "[<#ffffff>\uf0e7</> Admin]",
"type": "root"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"style": "plain",
"template": "<#7eb8da>\u2514\u2500</>>",
"type": "text"
},
{
"foreground": "#ffa5d8",
"style": "powerline",
"template": "[<#ffffff>\uea6c</> Error, check your command]",
"type": "status"
}
],
"type": "prompt"
}
],
"final_space": true,
"secondary_prompt": {
"background": "transparent",
"template": " "
},
"version": 3
}
Code of Conduct
What happened?
Theres a bug with the formatting, I fixed it for myself, but not exactly sure how to do the PR here. So ill provide the code and let you decide if it should be updated.
Theme
Tokyo
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output