Added cz-add-changes + cleanedup poshtheme

= Oh-My-Posh theme template change to not( continas ...) logic instead
  of an empty condition and an {{ else }}.
+ cz-add-changes will add any changes made to chezmoi
This commit is contained in:
Gal Szkolnik 2022-06-04 15:31:20 -04:00
parent f445d39fc6
commit 179f23b633
2 changed files with 11 additions and 1 deletions

View file

@ -25,7 +25,7 @@
"shell": "bash",
"command": "systemctl is-system-running || true"
},
"template": "{{ if contains \"running\" .Output }}{{ else }} {{ .Output }} {{ end }}"
"template": "{{ if not (contains \"running\" .Output) }} {{ .Output }} {{ end }}"
},
{
"background": "#3465a4",