all repos — nixfiles @ d6c301581f7d105023d324650a1142a3a6428bd4

System and user configuration, managed by nix and home-manager

emacs: load eshell modules with main module
Alan Pearce alan@alanpearce.eu
Wed, 12 Mar 2025 16:23:15 +0100
commit

d6c301581f7d105023d324650a1142a3a6428bd4

parent

f528684934b8031ce8aebe8ddda938b3611c3a0f

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -788,6 +788,7 @@ :init (progn           (with-eval-after-load 'evil-ex
             (evil-ex-define-cmd "esh[ell]" #'eshell)))
   :config (progn
+            (eshell-load-modules eshell-modules-list)
             (setq eshell-prompt-function (lambda ()
                                            (concat (eshell/pwd) "\n$ "))
                   eshell-prompt-regexp "^[$][[:blank:]]"