{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "style": "plain", "template": "\u256d\u2500[<#ffff55>{{ .UserName }}<#ff5555>@<#55ff55>{{ .HostName }}]\u2500", "type": "session" }, { "foreground": "#ff5555", "style": "plain", "template": "<#ffffff>[{{ .Path }}<#ffffff>]", "type": "path" }, { "foreground": "#FF9248", "style": "plain", "template": "<#ffffff>\u2500(#<#ffffff>)", "type": "root" } ], "type": "prompt" }, { "alignment": "right", "segments": [ { "foreground": "#3C873A", "properties": { "fetch_package_manager": true, "npm_icon": " <#cc3a3a>\ue5fa ", "yarn_icon": " <#348cba>\ue6a7" }, "style": "plain", "template": "<#ffffff>({{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#ffffff>)", "type": "node" }, { "foreground": "#FFE873", "style": "plain", "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#ffffff>)", "type": "python" }, { "foreground": "#ec2729", "style": "plain", "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)", "type": "java" }, { "foreground": "#0d6da8", "style": "plain", "template": "<#ffffff>({{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#ffffff>)", "type": "dotnet" }, { "foreground": "#06aad5", "style": "plain", "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)", "type": "go" }, { "foreground": "#925837", "style": "plain", "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)", "type": "rust" }, { "foreground": "#055b9c", "style": "plain", "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)", "type": "dart" }, { "foreground": "#ce092f", "style": "plain", "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)", "type": "angular" }, { "foreground": "#ffffff", "style": "plain", "template": "<#1e293b>({{ if .Error }}{{ .Error }}{{ else }}Nx {{ .Full }}{{ end }}<#1e293b>)", "type": "nx" }, { "foreground": "#359a25", "style": "plain", "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)", "type": "julia" }, { "foreground": "#9c1006", "style": "plain", "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)", "type": "ruby" }, { "foreground": "#5398c2", "style": "plain", "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)", "type": "azfunc" }, { "foreground": "#faa029", "style": "plain", "template": "<#ffffff>({{.Profile}}{{if .Region}}@{{.Region}}{{end}}<#ffffff>)", "type": "aws" }, { "foreground": "#316ce4", "style": "plain", "template": "<#ffffff>({{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}<#ffffff>)", "type": "kubectl" }, { "foreground": "#ffffff", "properties": { "linux": "<#ffffff>\ue27f", "macos": "<#ffffff>\ue27f", "windows": "<#ffffff>\ue27f" }, "style": "plain", "template": "<#ffffff>({{ if .WSL }}WSL at {{ end }}{{.Icon}}<#ffffff>)\u2500", "type": "os" }, { "foreground": "#ffffff", "foreground_templates": [ "{{if eq \"Charging\" .State.String}}#40c4ff{{end}}", "{{if eq \"Discharging\" .State.String}}#FFFB38{{end}}", "{{if eq \"Full\" .State.String}}#33DD2D{{end}}" ], "properties": { "charged_icon": "\uf240 ", "charging_icon": "\uf1e6 ", "discharging_icon": "\ue234 " }, "style": "plain", "template": "<#ffffff>[{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}%<#ffffff>]\u2500", "type": "battery" }, { "foreground": "#55ffff", "properties": { "time_format": "_2,15:04" }, "style": "plain", "template": "<#ffffff>[\uf073{{ .CurrentDate | date .Format }}<#ffffff>]", "type": "time" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "style": "plain", "template": "\u2570\u2500", "type": "text" }, { "foreground": "#e0f8ff", "properties": { "branch_icon": "\ue725 ", "fetch_status": true, "fetch_upstream_icon": true }, "style": "plain", "template": "<#ffffff>[{{ .HEAD }}{{ if .Staging.Changed }}<#00AA00> \u25cf {{ .Staging.String }}{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}{{ end }}<#ffffff>]-", "type": "git" }, { "foreground": "#ecf7fa", "foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"], "properties": { "always_enabled": true }, "style": "plain", "template": "\ue285\ueb9e ", "type": "exit" } ], "type": "prompt" } ], "version": 2 }