add logic to ignore everything on windows but gitconfig
This commit is contained in:
parent
38d92b9f2a
commit
1492126a70
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
|||
README.md
|
||||
screenshots
|
||||
packages
|
||||
{{ if (ne .chezmoi.os "linux") }}
|
||||
{{ if (toString .chezmoi.os | toString | contains "windows")}}
|
||||
*
|
||||
!dot_gitconfig
|
||||
{{ else if (ne .chezmoi.os "linux") }}
|
||||
{{ if not (.chezmoi.kernel.osrelease | lower | contains "microsoft") }}
|
||||
private_dot_gnupg
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue