mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
9b9405978e
When using PowerShell, "\n" isn't recognized as a newline character. To resolve this, moving the cursor down 1 line is more interesting as it will work in any shell using ANSI escape sequences (which we depends upon).
96 lines
2.2 KiB
JSON
96 lines
2.2 KiB
JSON
{
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"powerline_separator": "",
|
|
"segments": [
|
|
{
|
|
"type": "root",
|
|
"style": "powerline",
|
|
"foreground": "#100e23",
|
|
"background": "#ffe9aa",
|
|
"properties": {
|
|
"root_icon": "襁"
|
|
}
|
|
},
|
|
{
|
|
"type": "session",
|
|
"style": "powerline",
|
|
"foreground": "#100e23",
|
|
"background": "#ffffff",
|
|
"properties": {
|
|
"user_info_separator": "@"
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "powerline",
|
|
"foreground": "#100e23",
|
|
"background": "#91ddff",
|
|
"properties": {
|
|
"home_icon": "~",
|
|
"folder_icon": "",
|
|
"windows_registry_icon": "",
|
|
"folder_separator_icon": "",
|
|
"style": "short"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "powerline",
|
|
"foreground": "#193549",
|
|
"background": "#95ffa4",
|
|
"properties": {
|
|
"branch_icon": "",
|
|
"branch_identical_icon": "≡",
|
|
"branch_ahead_icon": "↑",
|
|
"branch_behind_icon": "↓",
|
|
"branch_gone_icon": "≢",
|
|
"local_working_icon": "",
|
|
"local_staged_icon": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "virtualenv",
|
|
"style": "powerline",
|
|
"foreground": "#100e23",
|
|
"background": "#906cff",
|
|
"properties": {
|
|
"python_icon": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "powerline",
|
|
"foreground": "#ffffff",
|
|
"background": "#ff8080",
|
|
"properties": {
|
|
"error_icon": ""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "newline"
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#007ACC",
|
|
"background": "#193549",
|
|
"properties": {
|
|
"text": ""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"console_background_color": "#193549",
|
|
"end_space_enabled": true
|
|
}
|