fix template to work with windows

This commit is contained in:
Anthony Rodriguez 2023-09-20 22:49:48 +02:00
parent beff15c257
commit 35c2c33f11
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -4,8 +4,6 @@ packages
{{ if eq .chezmoi.os "windows" }}
*
!dot_gitconfig
{{ else if (ne .chezmoi.os "linux") }}
{{ if not (.chezmoi.kernel.osrelease | lower | contains "microsoft") }}
{{ else if (.chezmoi.kernel.osrelease | lower | contains "wsl") }} # else is necessary because windows does not have a .chezmoi.osrelease
private_dot_gnupg
{{ end }}
{{ end }}