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