From b33bc7faee3ce7cc92847905959cbcc427b8a30f Mon Sep 17 00:00:00 2001 From: reeink Date: Fri, 8 Mar 2024 23:41:56 +0800 Subject: [PATCH] add string trim --- .chezmoitemplates/dot_gitconfig_wsl.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoitemplates/dot_gitconfig_wsl.tmpl b/.chezmoitemplates/dot_gitconfig_wsl.tmpl index 2604fd9..1ec710e 100644 --- a/.chezmoitemplates/dot_gitconfig_wsl.tmpl +++ b/.chezmoitemplates/dot_gitconfig_wsl.tmpl @@ -1,7 +1,7 @@ [gpg] format = ssh [gpg "ssh"] - program = /mnt/c/Users/{{- output "powershell.exe" "$env:UserName" -}}/AppData/Local/1Password/app/8/op-ssh-sign-wsl + program = /mnt/c/Users/{{- (output "powershell.exe" "$env:UserName") | trim -}}/AppData/Local/1Password/app/8/op-ssh-sign-wsl [commit] gpgsign = true [user]