From ae05c26eec03e91a044ec1232b5f66893803600a Mon Sep 17 00:00:00 2001 From: Jaeseok Lee Date: Wed, 31 Dec 2025 12:50:17 +0900 Subject: [PATCH] fix(cli): omit -D when restarting CLI The -D short flag was not being omitted during restart, causing an infinite loop when using `doom sync -D`. Only --debug was added to the omit list, but -D also triggers debug? and needs to be removed. --- bin/doom | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/doom b/bin/doom index b8329f672..60a697ca3 100755 --- a/bin/doom +++ b/bin/doom @@ -222,7 +222,8 @@ SEE ALSO: (when debug? (setenv "DEBUG" "1") (setq init-file-debug t) - (push "--debug" omit)) + (push "--debug" omit) + (push "-D" omit)) (when profile (setenv "DOOMPROFILE" profile) (push "--profile=" omit))