2021-07-15 08:05:30 -07:00
{
2022-02-03 01:22:57 -08:00
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
2021-07-15 08:05:30 -07:00
"blocks" : [
2021-11-07 08:42:56 -08:00
{
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"foreground" : "red" ,
2022-02-03 01:22:57 -08:00
"powerline_symbol" : "\ue0b0" ,
2021-11-07 08:42:56 -08:00
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "\uf0e7 "
} ,
"style" : "plain" ,
"type" : "root"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "blue" ,
"properties" : {
2022-02-03 01:22:57 -08:00
"folder_icon" : "\ue5ff" ,
2021-11-07 08:42:56 -08:00
"folder_separator_icon" : "/" ,
2022-02-03 01:22:57 -08:00
"home_icon" : "\uf7db" ,
"style" : "agnoster" ,
"template" : "{{ .Path }}"
} ,
"style" : "plain" ,
"type" : "path"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "green" ,
"foreground_templates" : [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}yellow{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}red{{ end }}" ,
"{{ if gt .Ahead 0 }}red{{ end }}" ,
"{{ if gt .Behind 0 }}green{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
"properties" : {
"fetch_stash_count" : true ,
2022-02-03 01:22:57 -08:00
"fetch_status" : true ,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon" : true ,
2022-02-03 01:22:57 -08:00
"github_icon" : "\uf408 " ,
"template" : " on {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<red> \uf044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<yellow> \uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}"
} ,
"style" : "plain" ,
"type" : "git"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "magenta" ,
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : " [.NET] {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} "
} ,
"style" : "plain" ,
"type" : "dotnet"
2021-11-07 08:42:56 -08:00
}
2022-02-03 01:22:57 -08:00
] ,
"type" : "prompt"
2021-11-07 08:42:56 -08:00
} ,
{
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"foreground" : "yellow" ,
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "{{ .CurrentDate | date .Format }} " ,
2021-11-07 08:42:56 -08:00
"time_format" : "15:04:05"
2022-02-03 01:22:57 -08:00
} ,
"style" : "plain" ,
"type" : "time"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "green" ,
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "\u276f"
} ,
"style" : "plain" ,
"type" : "text"
2021-11-07 08:42:56 -08:00
}
2022-02-03 01:22:57 -08:00
] ,
"type" : "prompt"
2021-11-07 08:42:56 -08:00
}
2022-02-03 01:22:57 -08:00
] ,
"final_space" : true ,
"version" : 1
2021-07-15 08:05:30 -07:00
}