mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 20:09:39 -08:00
3193487234
relates to #45
77 lines
1.6 KiB
JSON
77 lines
1.6 KiB
JSON
{
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "root",
|
|
"style": "plain",
|
|
"foreground": "#E06C75",
|
|
"properties": {
|
|
"root_icon": "root",
|
|
"prefix": "",
|
|
"postfix": " <#ffffff>in</> "
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "plain",
|
|
"foreground": "#55B9C4",
|
|
"properties": {
|
|
"home_icon": "~",
|
|
"style": "folder",
|
|
"prefix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "plain",
|
|
"foreground": "#C678DD",
|
|
"properties": {
|
|
"prefix": "<#ffffff>on</> ",
|
|
"branch_icon": "",
|
|
"display_status": true
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"style": "plain",
|
|
"foreground": "#98C379",
|
|
"properties": {
|
|
"display_version": true,
|
|
"prefix": "<#ffffff>via</> \uE781 "
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "plain",
|
|
"foreground": "#C94A16",
|
|
"properties": {
|
|
"prefix": "x",
|
|
"display_exit_code": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "newline"
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#63F08C",
|
|
"properties": {
|
|
"prefix": "",
|
|
"text": "→"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|