mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
64 lines
1.4 KiB
JSON
64 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "time",
|
|
"style": "plain",
|
|
"foreground": "#E5C07B",
|
|
"properties": {
|
|
"time_format": "15:04:05",
|
|
"prefix": "[",
|
|
"postfix": "]"
|
|
}
|
|
},
|
|
{
|
|
"type": "root",
|
|
"style": "plain",
|
|
"foreground": "#B5B50D"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "plain",
|
|
"foreground": "#61AFEF",
|
|
"properties": {
|
|
"style": "agnoster",
|
|
"postfix": " on"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "plain",
|
|
"foreground": "#F3C267",
|
|
"properties": {
|
|
"template": "{{ .HEAD }}",
|
|
"branch_identical_icon": "\uF14A",
|
|
"branch_gone_icon": "\u274E"
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "plain",
|
|
"foreground": "#C94A16",
|
|
"properties": {
|
|
"template": "x{{ .Text }}",
|
|
"prefix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#E06C75",
|
|
"properties": {
|
|
"prefix": "",
|
|
"text": "\u276F"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|