fix template to work with windows
This commit is contained in:
parent
beff15c257
commit
35c2c33f11
1 changed files with 1 additions and 3 deletions
|
@ -4,8 +4,6 @@ packages
|
||||||
{{ if eq .chezmoi.os "windows" }}
|
{{ if eq .chezmoi.os "windows" }}
|
||||||
*
|
*
|
||||||
!dot_gitconfig
|
!dot_gitconfig
|
||||||
{{ else if (ne .chezmoi.os "linux") }}
|
{{ else if (.chezmoi.kernel.osrelease | lower | contains "wsl") }} # else is necessary because windows does not have a .chezmoi.osrelease
|
||||||
{{ if not (.chezmoi.kernel.osrelease | lower | contains "microsoft") }}
|
|
||||||
private_dot_gnupg
|
private_dot_gnupg
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
|
||||||
|
|
Loading…
Reference in a new issue