Assets/Themes/forestcity.omp.json

{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "version": 2,
  "final_space": true,
  "console_title_template": "{{ .Shell }} :: {{ .Folder }}",
  "blocks": [
    {
      "type": "prompt",
      "alignment": "left",
      "segments": [
        {
          "type": "root",
          "style": "powerline",
          "foreground": "p:amber-bright",
          "background": "p:amber-deep",
          "template": " \uf09c ",
          "powerline_symbol": "\ue0c4",
          "leading_diamond": "\ue0b6",
          "trailing_diamond": "\ue0b4"
        },
        {
          "type": "os",
          "style": "powerline",
          "foreground": "p:indigo-bright",
          "background": "p:indigo-deep",
          "template": " {{ if .WSL }}\uf83c WSL{{ else }}{{ .Icon }}{{ end }} ",
          "powerline_symbol": "\ue0c4",
          "options": {
            "windows": "\ue62a",
            "ubuntu": "\ue73a",
            "macos": "\ue711"
          }
        },
        {
          "type": "path",
          "style": "powerline",
          "foreground": "p:purple-light",
          "background": "p:purple-mid",
          "template": " \uf07b {{ .Path }} ",
          "powerline_symbol": "\ue0c4",
          "options": {
            "style": "folder",
            "max_depth": 3,
            "folder_separator_icon": "/",
            "home_icon": "~"
          }
        },
        {
          "type": "git",
          "style": "powerline",
          "foreground": "p:rose-bright",
          "foreground_templates": [
            "{{ if .UpstreamGone }}p:rose-warn{{ end }}",
            "{{ if gt .Behind 0 }}p:amber-bright{{ end }}"
          ],
          "background": "p:rose-deep",
          "template": " {{ .UpstreamIcon }} {{ .HEAD }}{{ if or .Working.Changed .Staging.Changed }}<p:amber-bright> *</>{{ end }}{{ if not .UpstreamGone }}{{ if gt .Ahead 0 }} \uf062{{ .Ahead }}{{ end }}{{ if gt .Behind 0 }} \uf063{{ .Behind }}{{ end }}{{ end }}{{ if .UpstreamGone }} \uf127{{ end }} ",
          "powerline_symbol": "\ue0c4",
          "options": {
            "fetch_status": true,
            "fetch_upstream_icon": true,
            "branch_max_length": 24,
            "truncate_symbol": "\u2026"
          }
        }
      ]
    },
    {
      "type": "prompt",
      "alignment": "right",
      "overflow": "hidden",
      "segments": [
        {
          "type": "az",
          "style": "powerline",
          "alias": "AzCli",
          "foreground": "p:blue-bright",
          "background": "p:blue-deep",
          "template": " \uebd8 {{ if .Segments.AzPwsh }}{{ if ne .Segments.AzPwsh.Name .Name }}cli\u00b7{{ end }}{{ end }}{{ .Name }} ",
          "powerline_symbol": "\ue0c4",
          "options": {
            "source": "cli"
          }
        },
        {
          "type": "az",
          "style": "powerline",
          "alias": "AzPwsh",
          "foreground": "p:blue-bright",
          "background": "p:blue-deep",
          "template": "{{ if .Segments.AzCli }}{{ if ne .Segments.AzCli.Name .Name }} pwsh\u00b7{{ .Name }} {{ end }}{{ else }} \uebd8 {{ .Name }} {{ end }}",
          "powerline_symbol": "\ue0c4",
          "options": {
            "source": "pwsh"
          }
        },
        {
          "type": "dotnet",
          "style": "powerline",
          "foreground": "p:violet-bright",
          "background": "p:violet-deep",
          "template": " \ue77f {{ .Full }} ",
          "powerline_symbol": "\ue0c4",
          "options": {
            "display_mode": "files"
          }
        },
        {
          "type": "node",
          "style": "powerline",
          "foreground": "p:green-bright",
          "background": "p:green-deep",
          "template": " \ue718 {{ .Full }} ",
          "powerline_symbol": "\ue0c4",
          "options": {
            "display_mode": "files",
            "fetch_package_manager": false
          }
        },
        {
          "type": "docker",
          "style": "powerline",
          "foreground": "p:cyan-bright",
          "background": "p:cyan-deep",
          "template": " \uf308 {{ .Context }} ",
          "powerline_symbol": "\ue0c4",
          "options": {
            "display_mode": "context"
          }
        }
      ]
    },
    {
      "type": "rprompt",
      "alignment": "right",
      "segments": [
        {
          "type": "exit",
          "style": "powerline",
          "foreground": "p:green-mid",
          "foreground_templates": [
            "{{ if gt .Code 0 }}p:red-bright{{ end }}"
          ],
          "background": "p:green-deep",
          "background_templates": [
            "{{ if gt .Code 0 }}p:red-deep{{ end }}"
          ],
          "template": "{{ if gt .Code 0 }} \uf00d {{ .Code }} {{ else }} \uf00c {{ end }}",
          "powerline_symbol": "\ue0c4",
          "options": {
            "always_enabled": true
          }
        },
        {
          "type": "executiontime",
          "style": "powerline",
          "foreground": "p:indigo-bright",
          "background": "p:indigo-deep",
          "template": " {{ .FormattedMs }} ",
          "powerline_symbol": "\ue0c4",
          "options": {
            "threshold": 3000,
            "style": "austin",
            "always_enabled": true
          }
        },
        {
          "type": "time",
          "style": "powerline",
          "foreground": "p:gray-bright",
          "background": "p:gray-deep",
          "template": " {{ .CurrentDate | date .Format }} ",
          "powerline_symbol": "\ue0c4"
        }
      ]
    },
    {
      "type": "prompt",
      "alignment": "left",
      "newline": true,
      "segments": [
        {
          "type": "text",
          "style": "plain",
          "foreground": "p:purple-light",
          "template": "\u276f"
        }
      ]
    }
  ],
  "transient_prompt": {
    "foreground": "p:purple-light",
    "background": "transparent",
    "template": "<p:purple-light>\u276f</> "
  },
  "secondary_prompt": {
    "foreground": "p:rose-bright",
    "background": "transparent",
    "template": "\u276f\u276f "
  },
  "palette": {
    "purple-deep": "#102a18",
    "purple-mid": "#18331f",
    "purple-bright": "#a7d98c",
    "purple-light": "#8fce72",
    "blue-deep": "#0e1f22",
    "blue-mid": "#133036",
    "blue-bright": "#6fa6a0",
    "blue-light": "#9cc6bf",
    "cyan-deep": "#0c2122",
    "cyan-mid": "#103033",
    "cyan-bright": "#4fb0a0",
    "cyan-light": "#84cdc0",
    "rose-deep": "#20180e",
    "rose-mid": "#6b5a2d",
    "rose-bright": "#cdb277",
    "rose-light": "#e6d3a3",
    "rose-warn": "#c98a3a",
    "green-deep": "#0d2410",
    "green-mid": "#4a8f3d",
    "green-bright": "#6fc14b",
    "green-light": "#9fe07d",
    "violet-deep": "#1a2118",
    "violet-mid": "#2a3326",
    "violet-bright": "#9bbf8a",
    "violet-light": "#c2d9b5",
    "indigo-deep": "#0c1f1c",
    "indigo-mid": "#15302b",
    "indigo-bright": "#5f9e8f",
    "indigo-light": "#8fc2b4",
    "amber-deep": "#241608",
    "amber-mid": "#33200c",
    "amber-bright": "#c89b5a",
    "amber-light": "#e0c79a",
    "red-deep": "#2a0f0a",
    "red-mid": "#3d160f",
    "red-bright": "#d65f43",
    "red-light": "#f0937c",
    "gray-deep": "#1b1a17",
    "gray-mid": "#302e29",
    "gray-bright": "#9a9387",
    "gray-light": "#ccc6b9"
  }
}