oh-my-posh/themes/ys.omp.json
Jan De Dobbeleer c24ca82f17 feat: newline as part of block
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
2021-04-21 19:54:43 +02:00

108 lines
2.5 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "python",
"style": "plain",
"foreground": "white",
"properties": {
"prefix": "(",
"postfix": ")",
"display_version": false
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "lightBlue",
"properties": {
"prefix": "",
"text": "#"
}
},
{
"type": "root",
"style": "plain",
"foreground": "red",
"properties": {
"root_icon": "\b\b\b%"
}
},
{
"type": "session",
"style": "plain",
"properties": {
"user_info_separator": " <darkGray>@</> ",
"prefix": "",
"user_color": "cyan",
"host_color": "green"
}
},
{
"type": "path",
"style": "plain",
"foreground": "lightYellow",
"properties": {
"prefix": "<darkGray>in </>",
"style": "full"
}
},
{
"type": "git",
"style": "plain",
"properties": {
"prefix": "<darkGray>on</> <white>git:</>"
}
},
{
"type": "time",
"style": "plain",
"foreground": "darkGray",
"properties": {
"prefix": "[",
"postfix": "]"
}
},
{
"type": "exit",
"style": "plain",
"foreground": "red",
"properties": {
"prefix": " C:",
"always_numeric": true
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "lightRed",
"properties": {
"prefix": "",
"text": "$",
"postfix": ""
}
}
]
}
],
"final_space": true
}