mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-25 02:54:03 -08:00
70 lines
1.6 KiB
JSON
70 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "session",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"user_info_separator": "",
|
|
"display_host": false,
|
|
"prefix": "<#CB4B16>┏[</>",
|
|
"postfix": "<#CB4B16>]</>"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"prefix": "<#CB4B16>[</>",
|
|
"postfix": "<#CB4B16>]</>",
|
|
"template": "{{ .HEAD }}"
|
|
}
|
|
},
|
|
{
|
|
"type": "root",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"prefix": "<#CB4B16>[</>",
|
|
"postfix": "<#CB4B16>]</>"
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"template": "{{ .Text }}",
|
|
"prefix": "<#CB4B16>[x</>",
|
|
"postfix": "<#CB4B16>]</>"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"type": "path",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"style": "full",
|
|
"prefix": "<#CB4B16>┖[</>",
|
|
"postfix": "<#CB4B16>]></>"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"final_space": true
|
|
}
|