mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 19:39:39 -08:00
feat(theme): add red cross when git working status is true for ys theme
This commit is contained in:
parent
fcb880e6a5
commit
b3c4ceafd0
|
@ -48,8 +48,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"style": "plain",
|
"style": "plain",
|
||||||
"template": "<darkGray>on</> <white>git:</><cyan>{{ .HEAD }}</> ",
|
"template": "<darkGray>on</> <white>git:</><cyan>{{ .HEAD }}</>{{ if .Working.Changed }}<red> x</>{{ end }} ",
|
||||||
"type": "git"
|
"type": "git",
|
||||||
|
"properties": {
|
||||||
|
"fetch_status": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"foreground": "darkGray",
|
"foreground": "darkGray",
|
||||||
|
|
Loading…
Reference in a new issue