{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "background": "#4707a8", "foreground": "#000000", "leading_diamond": "\ue0c2\ue0c2", "properties": { "template": "" }, "style": "diamond", "type": "text" }, { "background": "#4707a8", "foreground": "#ffffff", "leading_diamond": "\ue0b6", "properties": { "template": " {{ .UserName }}@{{ .HostName }} " }, "style": "diamond", "trailing_diamond": "\ue0b0", "type": "session" }, { "background": "#1a1af5", "foreground": "#ffffff", "powerline_symbol": "\ue0b0", "properties": { "template": " \ufd03 {{ .Name }} " }, "style": "powerline", "type": "az" }, { "background": "#4707a8", "background_templates": [ "{{ if gt .Code 0 }}#f1184c{{ end }}" ], "foreground": "#ffffff", "properties": { "always_enabled": true, "template": "\ue0b0\ue23a " }, "style": "diamond", "trailing_diamond": "\ue0b4", "type": "exit" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "background": "#ffffff", "foreground": "#000000", "leading_diamond": "\ue0c2\ue0c2", "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 }}<#000000> \ue0b1", "ubuntu": "\uf31c", "windows": "\ue70f" }, "style": "diamond", "type": "os" }, { "background": "#000000", "foreground": "#ffffff", "properties": { "template": " \uf0e7<#ffffff> \ue0b1" }, "style": "diamond", "type": "root" }, { "background": "#ffffff", "foreground": "#000000", "properties": { "folder_icon": "<#000000>\ue5fe ", "folder_separator_icon": "<#000000>\ue0b1 ", "home_icon": "\uf7db ", "style": "agnoster_short", "template": "<#000000> \ue5ff {{ .Path }} " }, "style": "diamond", "type": "path" }, { "background": "#ffffff", "foreground": "#000000", "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": "<#000000>\ue0b1 {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}{{ end }} " }, "style": "diamond", "type": "git" }, { "background": "#ffffff", "foreground": "#000000", "properties": { "template": " {{ .WorkspaceName }} " }, "style": "powerline", "type": "terraform" }, { "background": "#ffffff", "foreground": "#000000", "properties": { "template": "" }, "style": "diamond", "trailing_diamond": "\ue0b0", "type": "text" } ], "type": "prompt" }, { "alignment": "left", "segments": [ { "foreground": "#1a1af5", "properties": { "template": " \u276f " }, "style": "plain", "type": "text" } ], "type": "prompt" } ], "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", "final_space": true, "version": 1 }