{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "background": "#ffffff", "foreground": "#000000", "leading_diamond": "\ue0b6", "properties": { "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} " }, "style": "diamond", "trailing_diamond": "\ue0b4", "type": "os" }, { "background": "#0000ff", "foreground": "#000000", "powerline_symbol": "\ue0b4", "properties": { "style": "full", "template": " \uf0e7 " }, "style": "powerline", "type": "root" }, { "background": "#0000ff", "foreground": "#ffffff", "powerline_symbol": "\ue0b4", "properties": { "style": "full", "template": " {{ .Path }} " }, "style": "powerline", "type": "path" }, { "background": "#D4E157", "foreground": "#000000", "powerline_symbol": "\ue0b4", "properties": { "template": " {{ .HEAD }} " }, "style": "powerline", "type": "git" } ], "type": "prompt" }, { "alignment": "right", "segments": [ { "background": "#D4E157", "foreground": "#000000", "leading_diamond": "\ue0b6", "properties": { "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \ue0b6" }, "style": "diamond", "type": "python" }, { "background": "#7FD5EA", "foreground": "#ffffff", "leading_diamond": "\ue0b6", "properties": { "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue0b6" }, "style": "diamond", "type": "go" }, { "background": "#ffffff", "foreground": "#000000", "leading_diamond": "\ue0b6", "properties": { "template": " {{ .CurrentDate | date .Format }} ", "time_format": "15:04:05" }, "style": "diamond", "trailing_diamond": "\ue0b4", "type": "time" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "foreground": "#D4E157", "foreground_templates": [ "{{ if gt .Code 0 }}#FF5252{{ end }}" ], "properties": { "always_enabled": true, "template": "\u276f " }, "style": "plain", "type": "exit" } ], "type": "prompt" } ], "version": 1 }