From 4bab54fdab7358c6df4af1e4314f3ff7e891fd6d Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 20 Sep 2023 22:53:47 +0200 Subject: [PATCH] fix condition to work --- .chezmoiignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoiignore b/.chezmoiignore index 7ad1ed0..2528dd5 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -5,6 +5,6 @@ packages * !dot_gitconfig # else is necessary because windows does not have a .chezmoi.osrelease -{{ else if (.chezmoi.kernel.osrelease | lower | contains "wsl") }} + {{ else if not (.chezmoi.kernel.osrelease | lower | contains "wsl2") }} private_dot_gnupg {{ end }}