From 738b12535fb2ae10f934dadc7f1a05f204ac974c Mon Sep 17 00:00:00 2001 From: Lemmy Date: Mon, 9 Feb 2026 10:22:02 -0500 Subject: [PATCH] better wezterm template escaping --- Scripts/bash/template-apply.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/bash/template-apply.sh b/Scripts/bash/template-apply.sh index ec6738e12..3e30cecac 100755 --- a/Scripts/bash/template-apply.sh +++ b/Scripts/bash/template-apply.sh @@ -131,7 +131,7 @@ wezterm) # It doesn't exist, so we add it before the 'return config' line. if grep -q '^\s*return\s*config' "$CONFIG_FILE"; then # 'return config' exists. Insert the line before it. - sed -i "/^\s*return\s*config/i\\$WEZTERM_SCHEME_LINE" "$CONFIG_FILE" + sed -i '/^\s*return\s*config/i\'"$WEZTERM_SCHEME_LINE" "$CONFIG_FILE" else # This is a problem. We can't find the insertion point. echo "Warning: 'config.color_scheme' not set and 'return config' line not found." >&2