mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
83 lines
1.8 KiB
JSON
83 lines
1.8 KiB
JSON
{
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "path",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"background": "#193549",
|
|
"properties": {
|
|
"prefix": "",
|
|
"home_icon": "~",
|
|
"style": "short",
|
|
"postfix": " on"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "plain",
|
|
"foreground": "#F3C267",
|
|
"background": "#193549",
|
|
"properties": {
|
|
"branch_icon": "",
|
|
"display_status": false,
|
|
"postfix": " <#C49EE9>[?!]</>"
|
|
}
|
|
},
|
|
{
|
|
"type": "command",
|
|
"style": "plain",
|
|
"foreground": "#C49EE9",
|
|
"background": "#193549",
|
|
"properties": {
|
|
"shell": "bash",
|
|
"command": "find . -name package.json -depth 1 -exec echo \" <#ffffff>via node</>\" \\;"
|
|
}
|
|
},
|
|
{
|
|
"type": "root",
|
|
"style": "plain",
|
|
"foreground": "#B5B50D",
|
|
"background": "#193549",
|
|
"properties": {
|
|
"root_icon": "⚡"
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "plain",
|
|
"foreground": "#C94A16",
|
|
"background": "#193549",
|
|
"properties": {
|
|
"error_icon": "x"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "newline"
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#63F08C",
|
|
"background": "#193549",
|
|
"properties": {
|
|
"prefix": "",
|
|
"text": "→"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"console_background_color": "#193549",
|
|
"end_space_enabled": true
|
|
}
|