diff --git a/home/.chezmoiscripts/universal/run_onchange_after_08-git-hooks.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_08-git-hooks.tmpl index 6b13d7ac..3e7f4108 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_08-git-hooks.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_08-git-hooks.tmpl @@ -24,7 +24,7 @@ done ### Make git hooks executable if [ -d "${XDG_CONFIG_HOME:-$HOME/.config}/git/template/hooks" ]; then logg info 'Ensuring git hooks are executable' - chmod +x "${XDG_CONFIG_HOME:-$HOME/.config}/git/template/hooks/*" + chmod +x "${XDG_CONFIG_HOME:-$HOME/.config}/git/template/hooks/"* fi {{ end -}}