mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-15 14:12:53 +02:00
add windows git config
This commit is contained in:
parent
6d8603f31f
commit
a1cc013f52
5 changed files with 23 additions and 0 deletions
9
dot_gitconfig.tmpl
Normal file
9
dot_gitconfig.tmpl
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{- if eq .chezmoi.os "windows" -}}
|
||||
{{- template "dot_gitconfig_windows.tmpl" . -}}
|
||||
{{- else if eq .chezmoi.os "linux" -}}
|
||||
{{- if (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}}
|
||||
{{- template "dot_gitconfig_wsl.tmpl" . -}}
|
||||
{{- else -}}
|
||||
{{- template "dot_gitconfig_linux.tmpl" . -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
Loading…
Add table
Add a link
Reference in a new issue