mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-14 23:14:05 -08:00
59 lines
1.5 KiB
JSON
59 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "#E36464",
|
|
"foreground": "#fff",
|
|
"leading_diamond": "\ue0b6",
|
|
"style": "diamond",
|
|
"template": "{{ .UserName }} ",
|
|
"trailing_diamond": "\ue0c6",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "green",
|
|
"foreground": "#fff",
|
|
"leading_diamond": "\ue0c7",
|
|
"properties": {
|
|
"style": "folder"
|
|
},
|
|
"style": "diamond",
|
|
"template": " {{ .Path }} ",
|
|
"trailing_diamond": "\ue0c6",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "lightCyan",
|
|
"foreground": "#fff",
|
|
"leading_diamond": "\ue0c7",
|
|
"properties": {
|
|
"branch_icon": ""
|
|
},
|
|
"style": "diamond",
|
|
"template": " git({{ .HEAD }}) ",
|
|
"trailing_diamond": "\ue0c6",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"background": "lightMagenta",
|
|
"foreground": "#fff",
|
|
"leading_diamond": "\ue0c7",
|
|
"properties": {
|
|
"time_format": "15:04"
|
|
},
|
|
"style": "diamond",
|
|
"template": " {{ .CurrentDate | date .Format }} ",
|
|
"trailing_diamond": "\ue0c6",
|
|
"type": "time"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 3
|
|
}
|