{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "background": "#000000", "foreground": "#dd1e1e", "properties": { "template": " \u26a1 " }, "style": "plain", "type": "root" }, { "background": "transparent", "foreground": "#ffffff", "properties": { "template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} " }, "style": "plain", "type": "os" }, { "background": "#5a3d29", "foreground": "#43CCEA", "properties": { "folder_icon": "\uf6d7", "folder_separator_icon": " \ue0bd ", "home_icon": "\uf7db", "style": "agnoster_short", "template": " {{ .Path }} " }, "style": "plain", "type": "path" }, { "background": "#00C853", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}", "{{ if gt .Ahead 0 }}#B388FF{{ end }}", "{{ if gt .Behind 0 }}#B388FF{{ end }}" ], "foreground": "#000000", "properties": { "fetch_stash_count": true, "fetch_status": true, "template": " {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " }, "style": "diamond", "leading_diamond": "\ue0b0", "type": "git" }, { "background": "#2ba1bb", "foreground": "#5a3d29", "properties": { "style": "dallas", "template": " {{ .FormattedMs }}s ", "threshold": 0 }, "style": "diamond", "leading_diamond": "\ue0b0", "type": "executiontime" }, { "background": "#910000", "foreground": "#ffffff", "powerline_symbol": "\ue0b0", "properties": { "always_enabled": true, "template": "{{ if gt .Code 0 }}\ue0b0 \uf12a {{ .Meaning }} \ue0b0{{ else }}\ue0b0{{ end }}" }, "style": "plain", "type": "exit" } ], "type": "prompt" }, { "alignment": "right", "segments": [ { "background": "#5a3d29", "foreground": "#43CCEA", "leading_diamond": "\ue0c5", "properties": { "template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} / {{ .HostName }}" }, "style": "diamond", "type": "session" }, { "background": "#5a3d29", "foreground": "#43CCEA", "properties": { "template": " \ue0ba\ue0bc {{ .CurrentDate | date .Format }} ", "time_format": "3:04:05 PM" }, "style": "plain", "type": "time" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "foreground": "#ffffff", "foreground_templates": [ "{{ if gt .Code 0 }}#ff0000{{ end }}" ], "properties": { "always_enabled": true, "template": "\u276f " }, "style": "plain", "type": "exit" } ], "type": "prompt" } ], "console_title": true, "console_title_style": "template", "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}", "osc99": true, "version": 1 }