From 041f98b4b8b7ac0825955d769fa8128deed5d6a6 Mon Sep 17 00:00:00 2001 From: Levi Date: Fri, 13 Sep 2024 12:19:05 +0200 Subject: [PATCH] dtach --- emacs/init.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/emacs/init.el b/emacs/init.el index 17656bf..9a12b1f 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -992,6 +992,19 @@ (unless (string-suffix-p "\n\n" (or summary "")) (insert "\n\n")))))))))) +(use-package detached + :ensure t + :init + (detached-init) + :bind (([remap async-shell-command] . detached-shell-command) + ([remap compile] . detached-compile) + ([remap recompile] . detached-compile-recompile) + ([remap detached-open-session] . detached-consult-session)) + :custom + ((detached-show-output-on-attach t) + (detached-terminal-data-command system-type))) + + (provide 'init) ;; Local Variables: