mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-09-19 21:17:31 -07: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 }} ]",
|
"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"
|
"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",
|
"foreground": "#256C9D",
|
||||||
"style": "plain",
|
"style": "plain",
|
||||||
|
|
|
@ -51,6 +51,17 @@
|
||||||
"template": " {{ .Path }}",
|
"template": " {{ .Path }}",
|
||||||
"type": "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",
|
"foreground": "#E0E0E0",
|
||||||
"style": "plain",
|
"style": "plain",
|
||||||
|
|
Loading…
Reference in a new issue