mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-12 14:04:05 -08:00
66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"foreground": "#7E46B6",
|
|
"properties": {
|
|
"template": "{{ .UserName }} "
|
|
},
|
|
"style": "plain",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"template": "in "
|
|
},
|
|
"style": "plain",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"foreground": "#87FF00",
|
|
"properties": {
|
|
"style": "full",
|
|
"template": "{{ .Path }} "
|
|
},
|
|
"style": "plain",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"foreground": "#5FD7FF",
|
|
"properties": {
|
|
"branch_ahead_icon": "",
|
|
"branch_behind_icon": "",
|
|
"branch_gone_icon": "",
|
|
"branch_icon": "",
|
|
"branch_identical_icon": "",
|
|
"cherry_pick_icon": "",
|
|
"commit_icon": "",
|
|
"fetch_status": true,
|
|
"merge_icon": "",
|
|
"rebase_icon": "",
|
|
"revert_icon": "",
|
|
"tag_icon": "",
|
|
"template": "<#ffffff>on</> {{ .HEAD }}{{ if .Staging.Changed }}<#87FF00> \u25cf {{ .Staging.String }}</>{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}</>{{ end }} "
|
|
},
|
|
"style": "plain",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"foreground": "#D75F00",
|
|
"properties": {
|
|
"template": "λ "
|
|
},
|
|
"style": "plain",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"version": 1
|
|
}
|