diff --git a/home/private_dot_config/git/config.tmpl b/home/private_dot_config/git/config.tmpl index f51392f..f61b283 100644 --- a/home/private_dot_config/git/config.tmpl +++ b/home/private_dot_config/git/config.tmpl @@ -20,7 +20,7 @@ helper = {{ $credentialHelperPath }} {{- $projectsDir := joinPath .chezmoi.homeDir "Projects" }} {{- if stat $projectsDir }} -{{- $projects := output "find" $projectsDir "-type" "f" "-mindepth" "2" "-maxdepth" "2" "-name" ".gitconfig" | trim | splitList "\n" }} +{{- $projects := output "find" "-L" $projectsDir "-type" "f" "-mindepth" "2" "-maxdepth" "2" "-name" ".gitconfig" | trim | splitList "\n" }} {{- range $projects }} {{- if . }} [includeIf "gitdir:{{ . | dir }}/**/"]