2021-11-07 08:42:56 -08:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#18354c",
|
|
|
|
"foreground": "#ffc107",
|
2022-02-03 01:22:57 -08:00
|
|
|
"leading_diamond": "\ue0b6",
|
2021-11-07 08:42:56 -08:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "folder",
|
|
|
|
"template": " \ue5ff {{ .Path }} "
|
2021-11-07 08:42:56 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b0",
|
2021-11-07 08:42:56 -08:00
|
|
|
"type": "path"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#18354c",
|
|
|
|
"foreground": "#ffc107",
|
2022-02-03 01:22:57 -08:00
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-11-07 08:42:56 -08:00
|
|
|
"properties": {
|
|
|
|
"fetch_stash_count": true,
|
2021-11-08 13:56:40 -08:00
|
|
|
"fetch_upstream_icon": true,
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
|
2021-11-07 08:42:56 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#ffc107",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#18354c",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-11-07 08:42:56 -08:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "python"
|
2021-11-07 08:42:56 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#ffc107",
|
|
|
|
"foreground": "#18354c",
|
2022-02-03 01:22:57 -08:00
|
|
|
"powerline_symbol": "\ue0b0",
|
|
|
|
"properties": {
|
|
|
|
"template": " \uf0e7 "
|
|
|
|
},
|
2021-11-07 08:42:56 -08:00
|
|
|
"style": "powerline",
|
|
|
|
"type": "root"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
}
|
|
|
|
],
|
2022-02-03 01:22:57 -08:00
|
|
|
"final_space": true,
|
|
|
|
"version": 1
|
2021-11-07 08:42:56 -08:00
|
|
|
}
|