azuredevops.omp.json
|
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "version": 4, "final_space": true, "blocks": [ { "type": "prompt", "alignment": "left", "newline": true, "segments": [ { "type": "text", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#ffffff", "background": "#0078D4", "background_templates": [ "{{ if eq .Env.TFSCMDLETS_IS_HOSTED \"true\" }}#0078D4{{ end }}", "{{ if eq .Env.TFSCMDLETS_IS_HOSTED \"false\" }}#68217A{{ end }}" ], "template": "{{ if .Env.TFSCMDLETS_CONNECTED }} \uebe8 {{ .Env.TFSCMDLETS_ORG }} {{ end }}", "options": {} }, { "type": "text", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#ffffff", "background": "#005A9E", "background_templates": [ "{{ if eq .Env.TFSCMDLETS_IS_HOSTED \"true\" }}#005A9E{{ end }}", "{{ if eq .Env.TFSCMDLETS_IS_HOSTED \"false\" }}#4B0E6E{{ end }}" ], "template": "{{ if .Env.TFSCMDLETS_PROJECT }} \uf07b {{ .Env.TFSCMDLETS_PROJECT }} {{ end }}" }, { "type": "text", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#ffffff", "background": "#004578", "background_templates": [ "{{ if eq .Env.TFSCMDLETS_IS_HOSTED \"true\" }}#004578{{ end }}", "{{ if eq .Env.TFSCMDLETS_IS_HOSTED \"false\" }}#3B0A5E{{ end }}" ], "template": "{{ if .Env.TFSCMDLETS_TEAM }} \uedca {{ .Env.TFSCMDLETS_TEAM }} {{ end }}" }, { "type": "text", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#ffffff", "background": "#106EBE", "template": "{{ if .Env.TFSCMDLETS_CONNECTED }} \uF007 {{ .Env.TFSCMDLETS_USER }} {{ end }}" }, { "type": "text", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#888888", "background": "#333333", "template": "{{ if not .Env.TFSCMDLETS_CONNECTED }} \uebe8 Not connected {{ end }}" } ] }, { "type": "prompt", "alignment": "left", "newline": true, "segments": [ { "type": "path", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#ffffff", "background": "#61AFEF", "template": " {{ .Path }} ", "options": { "style": "full" } }, { "type": "git", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#000000", "background": "#95ffa4", "template": " {{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}" }, { "type": "text", "style": "plain", "foreground": "#E06C75", "template": " \u276f" } ] } ], "transient_prompt": { "foreground": "#E06C75", "template": "\u276f " } } |