mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-09 14:07:02 -06:00
Fix privateDomain required multiple times, use promptStringOnce
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
{{- $wsl = (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}}
|
||||
{{- end -}}
|
||||
|
||||
{{ $privateDomain := promptStringOnce . "privateDomain" "What is the private domain" }}
|
||||
|
||||
[merge]
|
||||
command = "bash"
|
||||
args = [
|
||||
@@ -41,9 +43,9 @@ args = [
|
||||
]
|
||||
|
||||
[data]
|
||||
privateDomain = "{{ promptString "Enter the private domain" }}"
|
||||
chassis = "{{ $chassisType }}"
|
||||
wsl = {{ $wsl }}
|
||||
privateDomain = {{ $privateDomain | quote }}
|
||||
chassis = {{ $chassisType | quote }}
|
||||
wsl = {{ $wsl | quote }}
|
||||
|
||||
[data.cpu]
|
||||
cores = {{ $cpuCores }}
|
||||
|
||||
Reference in New Issue
Block a user