# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json version: 3 final_space: true blocks: - type: prompt alignment: left segments: - type: path style: plain foreground: blue background: transparent template: "{{ .Path }}" properties: style: folder - type: git style: plain foreground: green background: transparent template: " {{ .HEAD }}{{ if .Working.Changed }}*{{ end }}" properties: fetch_status: true - type: text style: plain foreground_templates: - "{{if gt .Code 0}}red{{end}}" - "{{if eq .Code 0}}white{{end}}" background: transparent template: " ❯ " transient_prompt: template: "❯ " background: transparent foreground_templates: - "{{if gt .Code 0}}red{{end}}" - "{{if eq .Code 0}}white{{end}}"