themes/rudolfs-light.omp.json

{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "blocks": [
    {
      "type": "prompt",
      "alignment": "left",
      "segments": [
        {
          "type": "root",
          "style": "plain",
          "background": "#E0E0E0",
          "foreground": "#BF231D"
        },
        {
          "type": "os",
          "style": "plain",
          "background": "#E0E0E0",
          "foreground": "#EF7D00",
          "properties": {
            "wsl": "",
            "wsl_separator": "",
            "prefix": " ",
            "postfix": " "
          }
        },
        {
          "type": "session",
          "style": "plain",
          "background": "#E0E0E0",
          "foreground": "#424242",
          "properties": {
            "display_host": false,
            "prefix": "",
            "postfix": ""
          }
        },
        {
          "type": "git",
          "style": "plain",
          "background": "#E0E0E0",
          "foreground": "#424242",
          "foreground_templates": [
            "{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#053F22{{ end }}",
            "{{ if or (gt .Repo.Ahead 0) (gt .Repo.Behind 0) }}#0A703E{{ end }}"
          ],
          "properties": {
            "fetch_status": true,
            "branch_max_length": 30,
            "fetch_upstream_icon": true,
            "prefix": " [",
            "postfix": "] ",
            "template": "{{ .Repo.UpstreamIcon }}{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }}<#BD6200> \uF044 {{ .Repo.Working.String }}</>{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }}<#053F22> \uF046 {{ .Repo.Staging.String }}</>{{ end }}"
          }
        },
        {
          "type": "path",
          "style": "plain",
          "background": "#E0E0E0",
          "foreground": "#424242",
          "properties": {
            "style": "full",
            "postfix": ""
          }
        },
        {
          "type": "text",
          "style": "plain",
          "foreground": "#E0E0E0",
          "properties": {
            "prefix": "",
            "text": "\uE0B0"
          }
        }
      ]
    }
  ]
}