2021-04-11 11:03:56 -07:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"alignment" : "left" ,
"horizontal_offset" : 0 ,
"vertical_offset" : 0 ,
"segments" : [
{
"background" : "#feae34" ,
"foreground" : "#262b44" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-11 11:03:56 -07:00
"leading_diamond" : "" ,
2021-11-07 08:42:56 -08:00
"trailing_diamond" : "\uE0B0" ,
2021-04-11 11:03:56 -07:00
"properties" : {
"prefix" : " " ,
"style" : "folder"
} ,
"style" : "diamond" ,
"type" : "path"
} ,
{
"background" : "#fee761" ,
"foreground" : "#262b44" ,
2021-11-07 08:42:56 -08:00
"background_templates" : [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#f77622{{ end }}" ,
2021-11-08 23:29:54 -08:00
"{{ if and (gt .Repo.Ahead 0) (gt .Repo.Behind 0) }}#e43b44{{ end }}" ,
"{{ if gt .Repo.Ahead 0 }}#2ce8f5{{ end }}" ,
"{{ if gt .Repo.Behind 0 }}#f77622{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
"powerline_symbol" : "\uE0B0" ,
2021-04-11 11:03:56 -07:00
"properties" : {
2021-11-07 08:42:56 -08:00
"fetch_status" : true ,
"fetch_stash_count" : true ,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon" : true ,
"template" : "{{ .Repo.UpstreamIcon }}{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
2021-04-11 11:03:56 -07:00
} ,
"style" : "powerline" ,
"type" : "git"
} ,
{
"background" : "#fee761" ,
"foreground" : "#262b44" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-11 11:03:56 -07:00
"style" : "powerline" ,
"type" : "root"
} ,
{
"background" : "#0095e9" ,
"foreground" : "#ffffff" ,
2021-11-07 08:42:56 -08:00
"leading_diamond" : "<transparent, #0095e9>\uE0B0</>" ,
2021-04-11 11:03:56 -07:00
"properties" : {
"always_enabled" : true ,
"color_background" : true ,
"display_exit_code" : false ,
"error_color" : "#ff0044" ,
2021-05-04 00:23:40 -07:00
"prefix" : " "
2021-04-11 11:03:56 -07:00
} ,
"style" : "diamond" ,
"trailing_diamond" : "" ,
"type" : "exit"
}
] ,
"type" : "prompt"
}
] ,
"final_space" : true
}