fix chezmoi.toml: don't remove whitespace after prompt* function

This commit is contained in:
inkch 2024-01-17 10:48:15 +09:00
parent 9fd0e7831e
commit b86adbe790

View File

@ -8,8 +8,7 @@
command = "nvim" command = "nvim"
args = ["-d", "{{ `{{ .Destination }}` }}", "{{ `{{ .Source }}` }}", "{{ `{{ .Target }}` }}"] args = ["-d", "{{ `{{ .Destination }}` }}", "{{ `{{ .Source }}` }}", "{{ `{{ .Target }}` }}"]
{{- $choices := list "desktop" "laptop" "server" -}} {{- $choices := list "desktop" "laptop" "server" }}
{{- $hosttype := promptChoiceOnce . "hosttype" "What type of host?" $choices -}} {{ $hosttype := promptChoiceOnce . "hosttype" "What type of host" $choices }}
[data] [data]
hosttype = {{- $hosttype | quote -}} hosttype = {{- $hosttype | quote -}}