From 64090e89b73b9ee20d4bc828ccd6a38102fa1750 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 15 Nov 2023 09:49:57 -0600 Subject: [PATCH] make sure eat works in eshell --- README.org | 4 +++- init.el | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index d4b71427..218c9b06 100644 --- a/README.org +++ b/README.org @@ -4038,7 +4038,9 @@ Let's add our own eshell prompt. and set the password cache to a significantly h *** EAT Emulate a terminal #+begin_src emacs-lisp -(add-hook 'eshell-load-hook #'eat-eshell-mode) +(use-package eat + :init + (add-hook 'eshell-load-hook #'eat-eshell-mode)) #+end_src *** Esh-autosuggest diff --git a/init.el b/init.el index a58bb45e..3ac79508 100644 --- a/init.el +++ b/init.el @@ -2968,7 +2968,9 @@ targets." "C-d" 'kill-buffer-and-window "" 'eshell-previous-input)) -(add-hook 'eshell-load-hook #'eat-eshell-mode) +(use-package eat + :init + (add-hook 'eshell-load-hook #'eat-eshell-mode)) (setq vterm-buffer-name-string "vterm %s" vterm-shell "/run/current-system/sw/bin/zsh")