Files
dotfiles/home/run_onchange_gitconfig.sh.tmpl

7 lines
184 B
Bash

#!/bin/sh
# We just need to have access to the Git repository
cd {{ .chezmoi.sourceDir }}
# The path is relative to the .git/config file
git config --local include.path ../.gitconfig