mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-13 22:44:05 -08:00
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": "\uf508 {{ .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 }} \uf692 {{ .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
|
|
}
|