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" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\uf0e7 " ,
2022-02-03 01:22:57 -08:00
"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" ,
2022-03-27 01:12:47 -07:00
"style" : "agnoster"
2022-02-03 01:22:57 -08:00
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "{{ .Path }}" ,
2022-02-03 01:22:57 -08:00
"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-03-27 01:12:47 -07:00
"github_icon" : "\uf408 "
2022-02-03 01:22:57 -08:00
} ,
"style" : "plain" ,
2022-09-06 22:01:52 -07:00
"template" : " on {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }}" ,
2022-02-03 01:22:57 -08:00
"type" : "git"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "magenta" ,
2022-02-03 01:22:57 -08:00
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : " [.NET] {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} " ,
2022-02-03 01:22:57 -08:00
"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" : {
"time_format" : "15:04:05"
2022-02-03 01:22:57 -08:00
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "{{ .CurrentDate | date .Format }} " ,
2022-02-03 01:22:57 -08:00
"type" : "time"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "green" ,
2022-02-03 01:22:57 -08:00
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\u276f" ,
2022-02-03 01:22:57 -08:00
"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 ,
2022-03-27 01:12:47 -07:00
"version" : 2
2021-07-15 08:05:30 -07:00
}