2021-09-04 07:33:21 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
2022-02-03 01:22:57 -08:00
|
|
|
"background": "#BF231D",
|
2021-09-04 07:33:21 -07:00
|
|
|
"foreground": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"properties": {
|
|
|
|
"template": " \uf0e7 "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "root"
|
2021-09-04 07:33:21 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#0A703E",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " {{ .Icon }} "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "os"
|
2021-09-04 07:33:21 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#0A703E",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "{{ .UserName }} "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "session"
|
2021-09-04 07:33:21 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#256C9D",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
2021-09-04 07:33:21 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"folder_icon": "\uf115",
|
|
|
|
"folder_separator_icon": " \ue0b1 ",
|
2021-09-04 07:33:21 -07:00
|
|
|
"max_depth": 2,
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "agnoster_short",
|
|
|
|
"template": " {{ .Path }} "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "path"
|
2021-09-04 07:33:21 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#256C9D",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
2021-09-04 07:33:21 -07:00
|
|
|
"properties": {
|
|
|
|
"branch_max_length": 30,
|
2022-02-03 01:22:57 -08:00
|
|
|
"fetch_stash_count": false,
|
|
|
|
"fetch_status": true,
|
2021-11-08 13:56:40 -08:00
|
|
|
"fetch_upstream_icon": true,
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "[ {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ]"
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "git"
|
2021-09-04 07:33:21 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#256C9D",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "\ue0b0 "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "text"
|
2021-09-04 07:33:21 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-09-04 07:33:21 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"version": 1
|
2021-11-07 08:42:56 -08:00
|
|
|
}
|