mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-25 19:14:50 -08:00
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"foreground": "#ffffff",
|
|
"style": "plain",
|
|
"template": "<#CB4B16>\u250f[</>{{ .UserName }}<#CB4B16>]</>",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"foreground": "#ffffff",
|
|
"style": "plain",
|
|
"template": "<#CB4B16>[</>{{ .HEAD }}<#CB4B16>]</>",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"foreground": "#ffffff",
|
|
"style": "plain",
|
|
"template": "<#CB4B16>[</>\uf0e7<#CB4B16>]</>",
|
|
"type": "root"
|
|
},
|
|
{
|
|
"foreground": "#ffffff",
|
|
"style": "plain",
|
|
"template": "<#CB4B16>[x</>{{ reason .Code }}<#CB4B16>]</>",
|
|
"type": "status"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"style": "full"
|
|
},
|
|
"style": "plain",
|
|
"template": "<#CB4B16>\u2516[</>{{ .Path }}<#CB4B16>]></>",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 3
|
|
}
|