mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-13 14:34:06 -08:00
06291e168b
resolves #1697
62 lines
1.4 KiB
JSON
62 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"template": "<#CB4B16>\u250f[</>{{ .UserName }}<#CB4B16>]</>"
|
|
},
|
|
"style": "plain",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"template": "<#CB4B16>[</>{{ .HEAD }}<#CB4B16>]</>"
|
|
},
|
|
"style": "plain",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"template": "<#CB4B16>[</>\uf0e7<#CB4B16>]</>"
|
|
},
|
|
"style": "plain",
|
|
"type": "root"
|
|
},
|
|
{
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"template": "<#CB4B16>[x</>{{ .Meaning }}<#CB4B16>]</>"
|
|
},
|
|
"style": "plain",
|
|
"type": "exit"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"style": "full",
|
|
"template": "<#CB4B16>\u2516[</>{{ .Path }}<#CB4B16>]></>"
|
|
},
|
|
"style": "plain",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 1
|
|
}
|