diff --git a/chezmoi.roots/_home/.chezmoiscripts/run_onchange_before_update_zellij.config.default.tmpl b/chezmoi.roots/_home/.chezmoiscripts/run_onchange_before_update_zellij.config.default.tmpl index f43ee84..57ab5a5 100755 --- a/chezmoi.roots/_home/.chezmoiscripts/run_onchange_before_update_zellij.config.default.tmpl +++ b/chezmoi.roots/_home/.chezmoiscripts/run_onchange_before_update_zellij.config.default.tmpl @@ -1,5 +1,10 @@ #! /usr/bin/env bash +{{- if not (stat (list .chezmoi.destDir ".config" "zellij" "config.kdl" | join .chezmoi.pathSeparator )) }} +# missing config, forcing regeneration: {{- randAlpha 64 }} +# {{ stat ".config/zellij/config.kdl" }} +# {{ output "pwd" }} +{{- end }} set -e echo "Generating zellij/config.kdl.tmpl..."