mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
82 lines
1.7 KiB
JSON
82 lines
1.7 KiB
JSON
{
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"prefix": "",
|
|
"text": "<#C591E8>❭</><#69FF94>❭</>"
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "plain",
|
|
"foreground": "#56B6C2",
|
|
"properties": {
|
|
"style": "folder"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "plain",
|
|
"foreground": "#D0666F",
|
|
"properties": {
|
|
"branch_icon": "",
|
|
"display_status": false,
|
|
"prefix": "<#5FAAE8>git:(</>",
|
|
"postfix": "<#5FAAE8>)</>"
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "plain",
|
|
"foreground": "#DCB977",
|
|
"properties": {
|
|
"prefix": "✗",
|
|
"display_exit_code": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"type": "command",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"shell": "bash",
|
|
"command": "git log --pretty=format:%cr -1 || date +%H:%m:%S"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "newline"
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"prefix": "",
|
|
"text": ""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"final_space": true
|
|
}
|