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