# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json final_space: true version: 2 blocks: - type: prompt alignment: left segments: - type: text style: plain foreground: magenta template: "[{{ .Shell }}]" - type: python style: plain foreground: yellow template: "[{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ end }}]" - type: path style: plain foreground: cyan properties: style: letter - type: git style: plain foreground: green template: "({{ .HEAD }})" properties: branch_icon: "" - type: prompt alignment: right segments: - type: executiontime style: plain foreground: 'cyan' template: "[{{ .FormattedMs }}]" properties: style: austin threshold: 500 - type: time style: plain foreground: yellow - type: prompt alignment: left newline: true segments: - type: text style: plain template: "$" foreground: green foreground_templates: - '{{ if gt .Code 0 }}red{{ end }}'