[data] {{ $machineTypeChoices := list "personal" "work" -}} {{ $machineType := promptChoiceOnce . "machineType" "Machine type" $machineTypeChoices -}} machineType = {{ $machineType | quote }} {{- if eq .chezmoi.os "linux" }} opDir = "/opt/1Password" {{ else if eq .chezmoi.os "darwin" }} opDir = "/Applications/1Password.app/Contents/MacOS" {{- end }} [data.git] {{ $gitName := promptStringOnce . "git.name" "Git name" -}} name = {{ $gitName | quote }} {{ $gitEmail := promptStringOnce . "git.email" "Git email" -}} email = {{ $gitEmail | quote }} {{ $sshSigningKeyOpId := promptStringOnce . "git.sshSigningKeyOpId" "1Password ID for SSH signing key (e.g. op://Private/abcd)" -}} sshSigningKeyOpId = {{ trimAll "\"" $sshSigningKeyOpId | quote }}