2021-02-18 08:04:14 -08:00
{
2021-04-04 11:28:41 -07:00
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"final_space" : true ,
"osc99" : true ,
"console_title" : true ,
"console_title_style" : "template" ,
"console_title_template" : "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}" ,
"blocks" : [
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
2021-11-07 08:42:56 -08:00
{
2021-04-04 11:28:41 -07:00
"type" : "root" ,
"style" : "plain" ,
"foreground" : "yellow" ,
"properties" : {
"root_icon" : ""
}
} ,
{
"type" : "path" ,
"style" : "diamond" ,
"foreground" : "black" ,
"background" : "lightBlue" ,
"leading_diamond" : "" ,
2021-11-07 08:42:56 -08:00
"trailing_diamond" : "\uE0B0" ,
2021-04-04 11:28:41 -07:00
"properties" : {
"style" : "mixed"
}
} ,
{
"type" : "git" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-04 11:28:41 -07:00
"foreground" : "black" ,
"background" : "green" ,
2021-11-07 08:42:56 -08:00
"background_templates" : [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}yellow{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
2021-04-04 11:28:41 -07:00
"properties" : {
2021-11-07 08:42:56 -08:00
"fetch_status" : true ,
2021-11-15 03:26:22 -08:00
"template" : "{{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}" ,
2021-04-04 11:28:41 -07:00
"branch_icon" : " " ,
"branch_identical_icon" : "≡" ,
"branch_ahead_icon" : "↑" ,
"branch_behind_icon" : "↓" ,
"branch_gone" : "≢" ,
"stash_count_icon" : "" ,
"commit_icon" : "▷ " ,
"tag_icon" : "▶ " ,
"rebase_icon" : "Ɫ " ,
"cherry_pick_icon" : "✓ " ,
"merge_icon" : "◴ " ,
2021-11-07 08:42:56 -08:00
"no_commits_icon" : "[no commits]"
2021-04-04 11:28:41 -07:00
}
}
]
}
]
}