2021-04-12 02:31:01 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#ffea00",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"leading_diamond": "\ue0c7\u2593",
|
|
|
|
"style": "diamond",
|
|
|
|
"type": "text"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
2021-04-18 10:16:06 -07:00
|
|
|
"background": "#ffea00",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"style": "powerline",
|
2023-08-24 06:26:35 -07:00
|
|
|
"template": " \udb84\udcfe {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "kubectl"
|
2021-04-18 10:16:06 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#008AD7",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-04-18 10:16:06 -07:00
|
|
|
"properties": {
|
2022-03-10 08:43:22 -08:00
|
|
|
"source": "cli"
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
2023-07-13 22:20:34 -07:00
|
|
|
"template": " \uebd8 {{ .Name }} [ {{ .Origin }} ] ",
|
2022-03-10 08:43:22 -08:00
|
|
|
"type": "az"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#012456",
|
|
|
|
"foreground": "#FFFFFF",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
|
|
|
"properties": {
|
|
|
|
"source": "pwsh"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2023-07-13 22:20:34 -07:00
|
|
|
"template": " \uebd8 {{ .Name }} [ {{ .Origin }} ] ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "az"
|
2023-08-24 06:26:35 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "aws",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "",
|
|
|
|
"properties": {
|
|
|
|
"display_default": true
|
|
|
|
},
|
|
|
|
"foreground": "#000000",
|
|
|
|
"background": "#FFA400",
|
|
|
|
"template": " \udb83\ude0f {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
|
2021-04-18 10:16:06 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
2021-04-18 10:16:06 -07:00
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"newline": true,
|
|
|
|
"segments": [
|
2021-04-12 02:31:01 -07:00
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#26C6DA",
|
|
|
|
"leading_diamond": "\ue0c7\u2593",
|
2021-04-12 02:31:01 -07:00
|
|
|
"properties": {
|
|
|
|
"alpine": "\uf300",
|
|
|
|
"arch": "\uf303",
|
|
|
|
"centos": "\uf304",
|
|
|
|
"debian": "\uf306",
|
|
|
|
"elementary": "\uf309",
|
|
|
|
"fedora": "\uf30a",
|
|
|
|
"gentoo": "\uf30d",
|
|
|
|
"linux": "\ue712",
|
|
|
|
"macos": "\ue711",
|
|
|
|
"manjaro": "\uf312",
|
|
|
|
"mint": "\uf30f",
|
|
|
|
"opensuse": "\uf314",
|
|
|
|
"raspbian": "\uf315",
|
|
|
|
"ubuntu": "\uf31c",
|
2023-08-24 06:26:35 -07:00
|
|
|
"windows": "\ue62a"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2023-08-24 06:26:35 -07:00
|
|
|
"template": " {{ if .WSL }}{{ .Icon }} on \ue62a{{ end }} <#ffea00>\ue0b1</>",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "os"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffea00",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}{{ .UserName }}{{ end }}<#ffea00> \ue0b1</>",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "session"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffea00",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \uf0e7<#ffea00> \ue0b1</>",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "root"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#fafafa",
|
2021-04-12 02:31:01 -07:00
|
|
|
"properties": {
|
|
|
|
"folder_icon": "<#B5B2C2>\ue5fe </>",
|
2022-02-03 01:22:57 -08:00
|
|
|
"folder_separator_icon": "<#ffea00>\ue0b1 </>",
|
2023-08-24 06:26:35 -07:00
|
|
|
"home_icon": " \uf015 ",
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "agnoster_short"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "<#f2f200> \ue5ff </>{{ .Path }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "path"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffea00",
|
2021-11-07 08:42:56 -08:00
|
|
|
"foreground_templates": [
|
2021-11-09 08:13:47 -08:00
|
|
|
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffea00{{ end }}",
|
|
|
|
"{{ if gt .Ahead 0 }}#2EC4B6{{ end }}",
|
|
|
|
"{{ if gt .Behind 0 }}#8A4FFF{{ end }}"
|
2021-11-07 08:42:56 -08:00
|
|
|
],
|
2021-04-12 02:31:01 -07:00
|
|
|
"properties": {
|
2021-11-07 08:42:56 -08:00
|
|
|
"fetch_stash_count": true,
|
|
|
|
"fetch_status": true,
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_upstream_icon": true
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2023-08-24 06:26:35 -07:00
|
|
|
"template": "<#ffea00>\ue0b1 </>{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "git"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#fafafa",
|
|
|
|
"style": "diamond",
|
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "text"
|
2021-04-12 02:31:01 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#ffea00",
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \u276f ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "text"
|
2021-04-12 02:31:01 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-04-12 02:31:01 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
|
|
|
|
"final_space": true,
|
2022-03-27 01:12:47 -07:00
|
|
|
"version": 2
|
2023-08-24 06:26:35 -07:00
|
|
|
}
|