mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 03:49:40 -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
82 lines
1.9 KiB
JSON
82 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "root",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#100e23",
|
|
"background": "#ffe9aa"
|
|
},
|
|
{
|
|
"type": "session",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#100e23",
|
|
"background": "#ffffff"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#100e23",
|
|
"background": "#91ddff",
|
|
"properties": {
|
|
"folder_icon": "\uF115",
|
|
"folder_separator_icon": " \uE0B1 ",
|
|
"style": "full"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#193549",
|
|
"background": "#95ffa4"
|
|
},
|
|
{
|
|
"type": "python",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#100e23",
|
|
"background": "#906cff",
|
|
"properties": {
|
|
"prefix": " \uE235 "
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#ffffff",
|
|
"background": "#ff8080",
|
|
"properties": {
|
|
"prefix": " \uE20F"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#007ACC",
|
|
"properties": {
|
|
"prefix": "",
|
|
"text": "\u276F"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"final_space": false
|
|
}
|