mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
c24ca82f17
this deprecates the "newline" block and favours using the newline property on the Block component. For backwards compatibility we'll keep recognizing the newline block for the time being. resolves #607
107 lines
2.6 KiB
JSON
107 lines
2.6 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "os",
|
|
"style": "plain",
|
|
"foreground": "#3A86FF",
|
|
"properties": {
|
|
"prefix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "session",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#f1184c",
|
|
"background": "#242424",
|
|
"properties": {
|
|
"display_host": false,
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "root",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#f1184c",
|
|
"background": "#242424",
|
|
"properties": {
|
|
"prefix": "- root ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "time",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#FFBB00",
|
|
"background": "#242424",
|
|
"properties": {
|
|
"time_format": "2006-01-02 15:04:05",
|
|
"prefix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#33DD2D",
|
|
"background": "#242424",
|
|
"properties": {
|
|
"prefix": "\uE5FF ",
|
|
"style": "full",
|
|
"folder_separator_icon": "/"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#3A86FF",
|
|
"background": "#242424",
|
|
"properties": {
|
|
"display_stash_count": true,
|
|
"display_upstream_icon": true,
|
|
"prefix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#242424",
|
|
"background": "#33DD2D",
|
|
"properties": {
|
|
"display_exit_code": false,
|
|
"always_enabled": true,
|
|
"color_background": true,
|
|
"error_color": "#f1184c",
|
|
"prefix": " \ufc8d"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#f1184c",
|
|
"properties": {
|
|
"prefix": "",
|
|
"text": "\u279C"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|