2021-06-07 22:38:30 -07:00
|
|
|
{
|
2021-11-07 08:42:56 -08:00
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"final_space": true,
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
2021-06-07 22:38:30 -07:00
|
|
|
{
|
2021-11-07 08:42:56 -08:00
|
|
|
"type": "session",
|
|
|
|
"style": "diamond",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#B4009E",
|
|
|
|
"leading_diamond": "\uE0B6",
|
|
|
|
"trailing_diamond": "",
|
|
|
|
"properties": {
|
|
|
|
"prefix": "",
|
|
|
|
"display_host": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "path",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
|
|
|
"foreground": "#000000",
|
|
|
|
"background": "#FFFF00",
|
|
|
|
"properties": {
|
|
|
|
"style": "folder"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#4E44FF",
|
|
|
|
"properties": {
|
|
|
|
"fetch_stash_count": true,
|
|
|
|
"fetch_status": false,
|
2021-11-08 13:56:40 -08:00
|
|
|
"fetch_upstream_icon": true,
|
2021-11-07 08:42:56 -08:00
|
|
|
"branch_icon": "",
|
2021-11-09 08:13:47 -08:00
|
|
|
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}",
|
2021-11-07 08:42:56 -08:00
|
|
|
"prefix": " \u279C (",
|
|
|
|
"postfix": ") "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#4e903d",
|
|
|
|
"properties": {
|
|
|
|
"prefix": " \uE718 "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "time",
|
|
|
|
"style": "diamond",
|
|
|
|
"trailing_diamond": "\uE0B0",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#16C60C",
|
|
|
|
"properties": {
|
|
|
|
"prefix": " \u2665 ",
|
|
|
|
"time_format": "15:04"
|
|
|
|
}
|
2021-06-07 22:38:30 -07:00
|
|
|
}
|
2021-11-07 08:42:56 -08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|