mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-06 05:14:53 -06:00
Add .gitconfig enabling diff'ing for encrypted .age files
This commit is contained in:
6
home/run_onchange_gitconfig.sh.tmpl
Normal file
6
home/run_onchange_gitconfig.sh.tmpl
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user