From 9fd0e7831edbd8cabfe06a94bd2404c4a9ce80fd Mon Sep 17 00:00:00 2001 From: inkch Date: Wed, 17 Jan 2024 10:47:25 +0900 Subject: [PATCH] fix chezmoi.toml (escape {{ and }}) --- .chezmoi.toml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index b3edbaf..66cd5c6 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -6,7 +6,7 @@ [merge] command = "nvim" - args = ["-d", "{{ .Destination }}", "{{ .Source }}", "{{ .Target }}"] + args = ["-d", "{{ `{{ .Destination }}` }}", "{{ `{{ .Source }}` }}", "{{ `{{ .Target }}` }}"] {{- $choices := list "desktop" "laptop" "server" -}} {{- $hosttype := promptChoiceOnce . "hosttype" "What type of host?" $choices -}}