Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
2.6 kB
2
Indexable
Never
{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "blocks": [
    {
      "alignment": "left",
      "segments": [
        {
          "foreground": "#88c0d0",
          "properties": {
            "template": "<#5e81ac>\u250f[</>{{ .UserName }}<#5e81ac>]</>"
          },
          "style": "plain",
          "type": "session"
        },
        {
          "foreground": "#ff8000",
          "properties": {
            "fetch_stash_count": true,
            "fetch_status": true,
            "fetch_upstream_icon": true,
            "template": "<#5e81ac>--[</>{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#8fbcbb> \u25cf </>{{ end }}{{ if .Staging.Changed }}<#88c0d0> \u25cf </>{{ end }}<#5e81ac>]</>"
          },
          "style": "plain",
          "type": "git"
        },
        {
          "foreground": "#b48ead",
          "properties": {
            "template": "<#5e81ac>--[</>{{.Profile}}{{if .Region}}@{{.Region}}{{end}}<#5e81ac>]</>"
          },
          "style": "plain",
          "type": "aws"
        },
        {
          "foreground": "#b48ead",
          "properties": {
            "template": "<#5e81ac>--[</>{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}<#5e81ac>]</>"
          },
          "style": "plain",
          "type": "kubectl"
        },
        {
          "foreground": "#d8dee9",
          "properties": {
            "template": "<#5e81ac>[</>\uf0e7<#5e81ac>]</>"
          },
          "style": "plain",
          "type": "root"
        },
        {
          "foreground": "#d8dee9",
          "properties": {
            "template": "<#5e81ac>[x</>{{ .Meaning }}<#5e81ac>]</>"
          },
          "style": "plain",
          "type": "exit"
        }
      ],
      "type": "prompt"
    },
    {
      "alignment": "left",
      "newline": true,
      "segments": [
        {
          "foreground": "#88c0d0",
          "properties": {
            "style": "full",
            "template": "<#5e81ac>\u2516[</>{{ .Path }}<#5e81ac>]</>"
          },
          "style": "plain",
          "type": "path"
        }
      ],
      "type": "prompt"
    },
    {
      "alignment": "left",
      "newline": true,
      "segments": [
        {
          "foreground": "#5e81ac",
          "properties": {
            "template": " \ue602 "
          },
          "style": "plain",
          "type": "text"
        }
      ],
      "type": "prompt"
    }
  ],
  "final_space": true,
  "version": 1
}