2021-03-25 13:22:55 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks":[
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "session",
|
|
|
|
"style": "diamond",
|
|
|
|
"leading_diamond": "\uE0B6",
|
|
|
|
"trailing_diamond": "\uE0C6",
|
|
|
|
"background": "#E36464",
|
|
|
|
"foreground": "#fff",
|
|
|
|
"properties": {
|
|
|
|
"prefix": "",
|
2021-12-03 14:44:58 -08:00
|
|
|
"template": "{{ .UserName }}"
|
2021-03-25 13:22:55 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type":"path",
|
|
|
|
"style": "diamond",
|
|
|
|
"leading_diamond": "\uE0C7",
|
|
|
|
"trailing_diamond": "\uE0C6",
|
|
|
|
"background": "green",
|
|
|
|
"foreground": "#fff",
|
|
|
|
"properties": {
|
2021-12-04 02:56:55 -08:00
|
|
|
"style": "folder"
|
2021-03-25 13:22:55 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"style": "diamond",
|
|
|
|
"leading_diamond": "\uE0C7",
|
|
|
|
"trailing_diamond": "\uE0C6",
|
|
|
|
"background": "lightCyan",
|
|
|
|
"foreground": "#fff",
|
|
|
|
"properties": {
|
|
|
|
"branch_icon": "",
|
2021-11-09 08:13:47 -08:00
|
|
|
"template": "{{ .HEAD }}",
|
2021-04-04 11:28:41 -07:00
|
|
|
"prefix": " git(",
|
|
|
|
"postfix": ") "
|
2021-03-25 13:22:55 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "time",
|
|
|
|
"style": "diamond",
|
|
|
|
"leading_diamond": "\uE0C7",
|
|
|
|
"trailing_diamond": "\uE0C6",
|
|
|
|
"foreground": "#fff",
|
|
|
|
"background": "lightMagenta",
|
|
|
|
"properties": {
|
2021-12-04 02:56:55 -08:00
|
|
|
"time_format": "15:04"
|
2021-03-25 13:22:55 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"final_space": true
|
|
|
|
}
|