2021-09-04 07:33:21 -07:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
{
"type" : "root" ,
"style" : "plain" ,
"background" : "#E0E0E0" ,
"foreground" : "#BF231D"
} ,
{
"type" : "os" ,
"style" : "plain" ,
"background" : "#E0E0E0" ,
"foreground" : "#EF7D00" ,
"properties" : {
"wsl" : "" ,
"wsl_separator" : "" ,
"prefix" : " " ,
"postfix" : " "
}
} ,
{
"type" : "session" ,
"style" : "plain" ,
"background" : "#E0E0E0" ,
"foreground" : "#424242" ,
"properties" : {
"display_host" : false ,
"prefix" : "" ,
"postfix" : ""
}
2021-11-07 08:42:56 -08:00
} ,
2021-09-04 07:33:21 -07:00
{
"type" : "git" ,
"style" : "plain" ,
"background" : "#E0E0E0" ,
"foreground" : "#424242" ,
2021-11-07 08:42:56 -08:00
"foreground_templates" : [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#053F22{{ end }}" ,
"{{ if or (gt .Ahead 0) (gt .Behind 0) }}#0A703E{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
2021-09-04 07:33:21 -07:00
"properties" : {
2021-11-07 08:42:56 -08:00
"fetch_status" : true ,
2021-09-04 07:33:21 -07:00
"branch_max_length" : 30 ,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon" : true ,
2021-09-04 07:33:21 -07:00
"prefix" : " [" ,
2021-11-07 08:42:56 -08:00
"postfix" : "] " ,
2021-11-09 08:13:47 -08:00
"template" : "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#BD6200> \uF044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#053F22> \uF046 {{ .Staging.String }}</>{{ end }}"
2021-09-04 07:33:21 -07:00
}
} ,
{
"type" : "path" ,
"style" : "plain" ,
"background" : "#E0E0E0" ,
"foreground" : "#424242" ,
"properties" : {
"style" : "full" ,
"postfix" : ""
}
} ,
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#E0E0E0" ,
"properties" : {
"prefix" : "" ,
"text" : "\uE0B0"
}
}
]
}
]
2021-11-07 08:42:56 -08:00
}