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 9cb38d0..024d7e0 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 @@ -8,7 +8,7 @@ is_cmd() { [[ -n "$(command -v "${1}")" ]] ; } if is_cmd zellij; then zellij setup --dump-config \ | sed -Ee ' - s/^keybinds {/keybinds clear-defaults=true{/; + s/^keybinds \{/keybinds clear-defaults=true {/; s/"Ctrl g"/{''{ list (dig "style" "zellij" "leader-modifer" "Alt" .) (dig "style" "zellij" "leader-key" "a" .) | join " " | quote }''}/g; s/"Ctrl ([a-z])"/"{''{ dig "style" "zellij" "leader-modifer" "Alt" . }''} \1"/g; s!^// theme "default"$!theme {''{ dig "style" "zellij" "theme" "default" . | quote }''}!