mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
c57975985f
resolves #3818
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"foreground": "#45F1C2",
|
|
"style": "plain",
|
|
"template": "\ueb99 {{ .UserName }} on",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"foreground": "#0CA0D8",
|
|
"properties": {
|
|
"folder_separator_icon": "/",
|
|
"style": "full"
|
|
},
|
|
"style": "plain",
|
|
"template": " \uf07b {{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"foreground": "#14A5AE",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"fetch_stash_count": true,
|
|
"fetch_upstream_icon": true
|
|
},
|
|
"style": "plain",
|
|
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
|
|
"type": "git"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"foreground": "#cd5e42",
|
|
"style": "plain",
|
|
"template": "\ue3bf ",
|
|
"type": "root"
|
|
},
|
|
{
|
|
"foreground": "#CD4277",
|
|
"style": "plain",
|
|
"template": "# ",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"version": 2
|
|
}
|