fix(emacs): load eshell

This commit is contained in:
2025-12-20 13:59:27 -07:00
parent ab264274ec
commit e1132ce4a6

View File

@@ -127,6 +127,8 @@ if FILE-NAME has no TRAMP prefix."
(cons nil file-name)))
(use-package eshell
:ensure nil
:defer t
:init
(defvar syd-eshell-data-dir
(file-name-concat syd-data-dir "eshell"))
@@ -172,6 +174,7 @@ if FILE-NAME has no TRAMP prefix."
;; UI enhancements.
(syd-eshell--init-ui-hacks)
(syd-push shackle-rules
'("*eshell-popup*"
:align below
@@ -179,4 +182,7 @@ if FILE-NAME has no TRAMP prefix."
:select t
:inhibit-window-quit t)))
;; I don't know why eshell doesn't autoload correctly.
(require 'eshell)
(provide 'syd/eshell)