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