mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-13 14:34:06 -08:00
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "lightMagenta",
|
|
"foreground": "#ffffff",
|
|
"leading_diamond": "\ue0b6",
|
|
"style": "diamond",
|
|
"template": "{{ .UserName }} ",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "lightYellow",
|
|
"foreground": "#3f3f3f",
|
|
"properties": {
|
|
"style": "folder"
|
|
},
|
|
"style": "plain",
|
|
"template": " {{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "lightCyan",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"branch_icon": ""
|
|
},
|
|
"style": "plain",
|
|
"template": " git({{ .HEAD }}) ",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"background": "lightGreen",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"time_format": "15:04"
|
|
},
|
|
"style": "diamond",
|
|
"template": " {{ .CurrentDate | date .Format }} ",
|
|
"trailing_diamond": "\ue0b0",
|
|
"type": "time"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 2
|
|
}
|