diff options
| author | Kleidi Bujari <mail@4kb.net> | 2026-02-21 18:16:06 -0800 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2026-02-21 18:16:06 -0800 |
| commit | c15fc8aef0ad29e54410030c88548080e07322fd (patch) | |
| tree | 7a76861092fbf7d1e774350a53e2949d3d7187f0 | |
| parent | 71a10010b44baa8ca85bc076fb9c23dfa852542d (diff) | |
| download | .emacs.d-c15fc8aef0ad29e54410030c88548080e07322fd.tar.gz .emacs.d-c15fc8aef0ad29e54410030c88548080e07322fd.tar.bz2 .emacs.d-c15fc8aef0ad29e54410030c88548080e07322fd.zip | |
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
| -rw-r--r-- | init.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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)) |
