{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "background": "#2e9599", "foreground": "#ffffff", "leading_diamond": "\ue0b6", "powerline_symbol": "\ue0b0", "properties": { "template": "\ufcbe {{ .HostName }} " }, "style": "diamond", "type": "session" }, { "background": "#0080ff", "foreground": "#ffffff", "powerline_symbol": "\ue0b0", "properties": { "style": "full", "template": " \ue5ff {{ .Path }} " }, "style": "powerline", "type": "path" }, { "background": "#c19c00", "foreground": "#000000", "powerline_symbol": "\ue0b0", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFA300{{ end }}", "{{ if gt .Ahead 0 }}#FF7070{{ end }}", "{{ if gt .Behind 0 }}#90F090{{ end }}" ], "properties": { "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " }, "style": "powerline", "type": "git" }, { "background": "#2e9599", "background_templates": [ "{{ if gt .Code 0 }}#f1184c{{ end }}" ], "foreground": "#ffffff", "properties": { "always_enabled": true, "template": " " }, "style": "diamond", "trailing_diamond": "\ue0b4", "type": "exit" } ], "type": "prompt" }, { "alignment": "right", "segments": [ { "background": "#2e9599", "foreground": "#ffffff", "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": "#ff0000", "properties": { "template": "\ue00a " }, "style": "plain", "type": "root" }, { "foreground": "#ffffff", "properties": { "template": " {{ .Name }} " }, "style": "plain", "type": "shell" }, { "foreground": "#ffffff", "properties": { "template": "\uf054 " }, "style": "plain", "type": "text" } ], "type": "prompt" } ], "console_title_style": "folder", "version": 1 }