{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "background": "p:tertiary", "background_templates": [ "{{ if .Root }}#FF0000{{ end }}" ], "foreground": "p:tertiary_font", "style": "plain", "template": " {{ .UserName }}{{ if .SSHSession }}@{{.HostName }}{{ end }} {{ if .Root }}<#FF0000,p:secondary>{{ else }}{{ end }}", "type": "session" }, { "foreground": "p:secondary_font", "background": "p:secondary", "style": "plain", "powerline_symbol": "", "properties": { "style": "full" }, "template": " {{ .Path }} ", "type": "path", "min_width": 80 }, { "foreground": "p:secondary_font", "background": "p:secondary", "style": "plain", "powerline_symbol": "", "properties": { "style": "agnoster", "folder_icon": "", "mixed_threshold": 2 }, "template": " {{ .Path }} ", "type": "path", "max_width": 79 }, { "foreground": "p:tertiary_font", "background": "p:tertiary", "style": "powerline", "powerline_symbol": "", "template": "{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }} ", "properties": { "fetch_status": true, "fetch_upstream_icon": true }, "type": "git", "min_width": 80 }, { "type": "executiontime", "style": "plain", "foreground": "p:secondary_font", "background": "transparent", "template": " {{ .FormattedMs }} ", "properties": { "threshold": 1000, "style": "roundrock" } }, { "foreground": "p:accent", "background": "transparent", "foreground_templates": [ "{{ if gt .Code 0 }}red{{ end }}" ], "properties": { "always_enabled": true }, "style": "plain", "template": "", "type": "exit" } ], "type": "prompt" } ], "tooltips": [ { "type": "git", "tips": [ "git", "g" ], "style": "powerline", "foreground": "p:tertiary_front", "background": "p:tertiary", "powerline_symbol": "", "template": " {{ .HEAD }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }} ", "properties": { "fetch_status": true, "fetch_upstream_icon": true }, "max_width": 79 } ], "transient_prompt_backup": { "background": "p:secondary", "foreground_templates": [ "{{ if .Root }}#FF0000{{ end }}" ], "foreground": "p:tertiary", "template": " {{ .PWD }} " }, "secondary_prompt": { "background": "p:secondary", "foreground_templates": [ "{{ if .Root }}#FF0000{{ end }}" ], "foreground": "p:tertiary", "template": "  " }, "final_space": true, "version": 2, "palette": { "accent": "#0ca8fb", "secondary": "#011f2a", "tertiary": "#0f63bd", "accent_font": "#000000", "secondary_font": "#FFFFFF", "tertiary_font": "#FFFFFF" } }