From e03193eea4a715d1e60f1195d7a3757452f2c2bf Mon Sep 17 00:00:00 2001 From: Vaibhav Verma <91726330+CantC0unt@users.noreply.github.com> Date: Sat, 18 Oct 2025 15:46:27 +0530 Subject: [PATCH] Fix omarchy-theme-set-vscode to only remove theme instead of the complete line (#2523) --- bin/omarchy-theme-set-vscode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-theme-set-vscode b/bin/omarchy-theme-set-vscode index c1bc803..c04010c 100755 --- a/bin/omarchy-theme-set-vscode +++ b/bin/omarchy-theme-set-vscode @@ -41,7 +41,7 @@ if omarchy-cmd-present "$EDITOR_CMD" && [[ ! -f "$SKIP_FLAG" ]]; then else # Remove theme from settings.json when the theme doesn't have $EDITOR_NAME support if [[ -f "$SETTINGS_PATH" ]]; then - sed -i --follow-symlinks -E '/"workbench\.colorTheme"[[:space:]]*:[^,}]*,?/d' "$SETTINGS_PATH" + sed -i --follow-symlinks -E 's/\"workbench\.colorTheme\"[[:space:]]*:[^,}]*,?//' "$SETTINGS_PATH" fi fi fi