diff options
| -rw-r--r-- | dot_gitconfig.tmpl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 0abe1e4..07a769d 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -10,11 +10,7 @@ {{/* This file supports Go's text/template language. */ -}} [core] - {{ if .work -}} - excludesfile = !/home/u_muftei/.gitignore - {{ else -}} - excludesfile = !/home/ibrahim/.gitignore - {{ end -}} + excludesfile = !{{ .chezmoi.homeDir }}/.gitignore [init] defaultBranch = main [push] |
