mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-29 04:49:39 -08:00
c57975985f
resolves #3818
52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"foreground": "lightYellow",
|
|
"style": "plain",
|
|
"template": "{{ .UserName }} ",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"foreground": "cyan",
|
|
"properties": {
|
|
"style": "folder"
|
|
},
|
|
"style": "plain",
|
|
"template": "<#ffffff>in</> {{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"foreground": "#ff94df",
|
|
"properties": {
|
|
"branch_icon": " <#ff94df><b>\ue0a0 </b></>",
|
|
"fetch_stash_count": true
|
|
},
|
|
"style": "plain",
|
|
"template": "<#ffffff>on</> {{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
|
|
"type": "git"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"foreground": "lightGreen",
|
|
"style": "plain",
|
|
"template": "\u276f",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 2
|
|
}
|