So I am assuming since oh-my-posh uses Go-style templating, that my theme template is trying to be interpreted by the rendering engine. Here is the exact error:
error: store "apps": prepare staging: render /home/adrian/code/personal/dotfiles/apps/.omp/themes/custom.json: parse template: template: :15: unexpected "\\" in operand
and the template code for context:
10 "type": "text",
11 "style": "powerline",
12 "powerline_symbol": "\ue0b0",
13 "foreground": "#ffffff",
14 "background": "#3A3A3A",
15 "template": " {{ if eq .Env.POETRY_ACTIVE \"1\" }}\ue235 poetry {{ end }}"
16 },
17 {
18 "properties": {
19 "style": "full"
20 },
I'm guessing its failing at the env var statement.
So I am assuming since oh-my-posh uses Go-style templating, that my theme template is trying to be interpreted by the rendering engine. Here is the exact error:
error: store "apps": prepare staging: render /home/adrian/code/personal/dotfiles/apps/.omp/themes/custom.json: parse template: template: :15: unexpected "\\" in operandand the template code for context:
I'm guessing its failing at the env var statement.