{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "background": "#ffea00", "foreground": "#000000", "leading_diamond": "\ue0c7\u2593", "properties": { "template": "" }, "style": "diamond", "type": "text" }, { "background": "#ffea00", "foreground": "#000000", "properties": { "template": " \ufd31{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} " }, "style": "powerline", "type": "kubectl" }, { "background": "#008AD7", "foreground": "#000000", "powerline_symbol": "\ue0b0", "properties": { "template": " \ufd03 {{ .Name }} " }, "style": "powerline", "type": "az" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "background": "#2f2f2f", "foreground": "#26C6DA", "leading_diamond": "\ue0c7\u2593", "properties": { "alpine": "\uf300", "arch": "\uf303", "centos": "\uf304", "debian": "\uf306", "elementary": "\uf309", "fedora": "\uf30a", "gentoo": "\uf30d", "linux": "\ue712", "macos": "\ue711", "manjaro": "\uf312", "mint": "\uf30f", "opensuse": "\uf314", "raspbian": "\uf315", "template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#ffea00> \ue0b1", "ubuntu": "\uf31c", "windows": "\ue70f" }, "style": "diamond", "type": "os" }, { "background": "#2f2f2f", "foreground": "#ffea00", "properties": { "template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}{{ .UserName }}{{ end }}<#ffea00> \ue0b1" }, "style": "diamond", "type": "session" }, { "background": "#2f2f2f", "foreground": "#ffea00", "properties": { "template": " \uf0e7<#ffea00> \ue0b1" }, "style": "diamond", "type": "root" }, { "background": "#2f2f2f", "foreground": "#fafafa", "properties": { "folder_icon": "<#B5B2C2>\ue5fe ", "folder_separator_icon": "<#ffea00>\ue0b1 ", "home_icon": "\uf7db ", "style": "agnoster_short", "template": "<#f2f200> \ue5ff {{ .Path }} " }, "style": "diamond", "type": "path" }, { "background": "#2f2f2f", "foreground": "#ffea00", "foreground_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ffea00{{ end }}", "{{ if gt .Ahead 0 }}#2EC4B6{{ end }}", "{{ if gt .Behind 0 }}#8A4FFF{{ end }}" ], "properties": { "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, "template": "<#ffea00>\ue0b1 {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " }, "style": "diamond", "type": "git" }, { "background": "#2f2f2f", "foreground": "#fafafa", "properties": { "template": "" }, "style": "diamond", "trailing_diamond": "\ue0b0", "type": "text" } ], "type": "prompt" }, { "alignment": "left", "segments": [ { "foreground": "#ffea00", "properties": { "template": " \u276f " }, "style": "plain", "type": "text" } ], "type": "prompt" } ], "console_title": true, "console_title_style": "template", "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", "final_space": true, "version": 1 }