2022-02-04 12:28:23 -08:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"alignment" : "left" ,
"segments" : [
{
"foreground" : "#26C6DA" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "{{ if .WSL }}WSL at {{ end }}{{.Icon}} " ,
2022-02-04 12:28:23 -08:00
"type" : "os"
} ,
{
"foreground" : "#26C6DA" ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : "{{ .UserName }}@{{ .HostName }} " ,
2022-02-04 12:28:23 -08:00
"type" : "session"
} ,
{
"foreground" : "#0fc469" ,
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : "\u279c \ue235({{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Major }}.{{ .Minor }}{{ end }}) " ,
2022-02-04 12:28:23 -08:00
"type" : "python"
} ,
{
"foreground" : "#FFE700" ,
"foreground_templates" : [
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}" ,
"{{ if gt .Ahead 0 }}#16c60c{{ end }}" ,
"{{ if gt .Behind 0 }}#f450de{{ end }}"
] ,
"properties" : {
"fetch_status" : true ,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon" : true
2022-02-04 12:28:23 -08:00
} ,
"style" : "plain" ,
2022-09-06 22:01:52 -07:00
"template" : "{{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " ,
2022-02-04 12:28:23 -08:00
"type" : "git"
}
] ,
2022-07-03 01:54:52 -07:00
"type" : "prompt"
2022-02-04 12:28:23 -08:00
} ,
{
"alignment" : "right" ,
"segments" : [
{
"background" : "#6CA35E" ,
"foreground" : "#ffffff" ,
"leading_diamond" : "\ue0b6" ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : "\ue718 {{ .Full }} " ,
2022-02-04 12:28:23 -08:00
"trailing_diamond" : "\ue0b4" ,
"type" : "node"
} ,
{
"background" : "#4c1f5e" ,
"foreground" : "#ffffff" ,
"leading_diamond" : " \ue0b6" ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : "\ue738 {{ .Full }} " ,
2022-02-04 12:28:23 -08:00
"trailing_diamond" : "\ue0b4" ,
"type" : "java"
} ,
{
"properties" : {
2022-03-27 01:12:47 -07:00
"always_enabled" : true
2022-02-04 12:28:23 -08:00
} ,
"style" : "plain" ,
2022-07-03 01:54:52 -07:00
"template" : " {{ if gt .Code 0 }}<#ff0000>\uf00d</>{{ else }}<#23d18b>\uf42e</>{{ end }} " ,
2022-02-04 12:28:23 -08:00
"type" : "exit"
} ,
{
"foreground" : "#bab02a" ,
"properties" : {
"threshold" : 10
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "took \uf252 {{ .FormattedMs }} " ,
2022-02-04 12:28:23 -08:00
"type" : "executiontime"
} ,
{
"foreground" : "#00C5C7" ,
"properties" : {
"time_format" : "15:04:05"
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ .CurrentDate | date .Format }} \uf017 " ,
2022-02-04 12:28:23 -08:00
"type" : "time"
}
] ,
"type" : "prompt"
} ,
{
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"foreground" : "#77E4F7" ,
"properties" : {
2022-03-27 01:12:47 -07:00
"style" : "full"
2022-02-04 12:28:23 -08:00
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "{{ .Path }} " ,
2022-02-04 12:28:23 -08:00
"type" : "path"
} ,
{
"foreground" : "#43D426" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\u276f " ,
2022-02-04 12:28:23 -08:00
"type" : "text"
}
] ,
"type" : "prompt"
}
] ,
2022-03-27 01:12:47 -07:00
"version" : 2
2022-02-04 12:28:23 -08:00
}