mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -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",
|
||||
"template": "<darkGray>on</> <white>git:</><cyan>{{ .HEAD }}</> ",
|
||||
"type": "git"
|
||||
"template": "<darkGray>on</> <white>git:</><cyan>{{ .HEAD }}</>{{ if .Working.Changed }}<red> x</>{{ end }} ",
|
||||
"type": "git",
|
||||
"properties": {
|
||||
"fetch_status": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"foreground": "darkGray",
|
||||
|
|
Loading…
Reference in a new issue