mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-13 22:44:05 -08:00
72 lines
1.6 KiB
JSON
72 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"foreground": "#ffffff",
|
|
"style": "plain",
|
|
"template": "<#C591E8>\u276f</><#69FF94>\u276f</> ",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"foreground": "#56B6C2",
|
|
"properties": {
|
|
"style": "folder"
|
|
},
|
|
"style": "plain",
|
|
"template": "{{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"foreground": "#D0666F",
|
|
"properties": {
|
|
"branch_icon": ""
|
|
},
|
|
"style": "plain",
|
|
"template": "<#5FAAE8>git:(</>{{ .HEAD }}<#5FAAE8>)</>",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"foreground": "#DCB977",
|
|
"style": "plain",
|
|
"template": " \uf119 ",
|
|
"type": "exit"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"command": "git log --pretty=format:%cr -1 || date +%H:%m:%S",
|
|
"shell": "bash"
|
|
},
|
|
"style": "plain",
|
|
"template": " {{ .Output }} ",
|
|
"type": "command"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"foreground": "#ffffff",
|
|
"style": "plain",
|
|
"template": "\uf441 ",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"version": 2
|
|
}
|