mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
feat: updates rudolfs-xx templates with a python section
adds python block Update rudolfs-light.omp.json adds python block
This commit is contained in:
parent
f502d1c108
commit
52bbcb651f
|
@ -51,6 +51,17 @@
|
|||
"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 }} ]",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#256C9D",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"style": "plain",
|
||||
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
||||
"properties": {
|
||||
"text": "\ue0b0"
|
||||
},
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"foreground": "#256C9D",
|
||||
"style": "plain",
|
||||
|
|
|
@ -51,6 +51,17 @@
|
|||
"template": " {{ .Path }}",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#E0E0E0",
|
||||
"foreground": "#424242",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"style": "plain",
|
||||
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
||||
"properties": {
|
||||
"text": "\ue0b0"
|
||||
},
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"foreground": "#E0E0E0",
|
||||
"style": "plain",
|
||||
|
|
Loading…
Reference in a new issue