From c15fc8aef0ad29e54410030c88548080e07322fd Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Sat, 21 Feb 2026 18:16:06 -0800 Subject: don't start eshell each time init.el is evaluated before eshell was started on each evaluation. eshell should start on emacs startup but it should be disabled for evaluating init.el manually when iterating on config changes --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 45c402d..7df12da 100644 --- a/init.el +++ b/init.el @@ -260,4 +260,6 @@ :ensure t :hook (after-init . envrc-global-mode)) -(eshell) +;; Start eshell unless evaluating init.el +(unless (string-equal "init.el" (format "%s" (current-buffer))) + (eshell)) -- cgit v1.3.1