2021-09-02 08:49:03 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"final_space": true,
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "session",
|
|
|
|
"style": "diamond",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#9A348E",
|
|
|
|
"leading_diamond": "\uE0B6",
|
|
|
|
"trailing_diamond": "",
|
|
|
|
"properties": {
|
|
|
|
"prefix": "",
|
|
|
|
"display_host": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "path",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#DA627D",
|
|
|
|
"properties": {
|
|
|
|
"style": "folder"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#FCA17D",
|
|
|
|
"properties": {
|
2021-11-07 08:42:56 -08:00
|
|
|
"fetch_stash_count": true,
|
2021-09-02 08:49:03 -07:00
|
|
|
"display_upstream_icon": true,
|
|
|
|
"branch_icon": "",
|
2021-11-07 08:42:56 -08:00
|
|
|
"fetch_status": false,
|
|
|
|
"template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}",
|
2021-09-02 08:49:03 -07:00
|
|
|
"prefix": " \u279C (",
|
|
|
|
"postfix": ") "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#86BBD8",
|
|
|
|
"properties": {
|
|
|
|
"prefix": " \uE718 "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "time",
|
|
|
|
"style": "diamond",
|
|
|
|
"trailing_diamond": "\uE0B0",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#33658A",
|
|
|
|
"properties": {
|
|
|
|
"prefix": " \u2665 ",
|
|
|
|
"time_format": "15:04"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|