mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
65 lines
1.5 KiB
JSON
65 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"final_space": true,
|
|
"osc99": false,
|
|
"console_title": false,
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"horizontal_offset": 0,
|
|
"vertical_offset": 0,
|
|
"segments": [
|
|
{
|
|
"type": "session",
|
|
"style": "plain",
|
|
"invert_powerline": false,
|
|
"foreground": "lightYellow",
|
|
"properties": {
|
|
"prefix": "",
|
|
"template": "{{ .UserName }}"
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "plain",
|
|
"invert_powerline": false,
|
|
"foreground": "cyan",
|
|
"properties": {
|
|
"prefix": "<#ffffff>in</> ",
|
|
"style": "folder"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "plain",
|
|
"invert_powerline": false,
|
|
"foreground": "#ff94df",
|
|
"properties": {
|
|
"branch_icon": " <#ff94df><b> </b></>",
|
|
"fetch_stash_count": true,
|
|
"prefix": "<#ffffff>on</> ",
|
|
"template": "{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "lightGreen",
|
|
"properties": {
|
|
"prefix": "",
|
|
"text": "\u276F"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|