diff options
author | jjanzen <jjanzen@jjanzen.ca> | 2025-03-13 23:15:20 -0500 |
---|---|---|
committer | jjanzen <jjanzen@jjanzen.ca> | 2025-03-13 23:15:20 -0500 |
commit | 802882761d59c344bb35bece340e8a897bc3feff (patch) | |
tree | 2e1ce29bc30561becf101937867328541b888f32 | |
parent | 5742d1c5076c752a5b50e5fd3d1b1d06e2077774 (diff) |
system changes
-rw-r--r-- | common/.config/emacs/init.el.org | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org index 7f81564..7f1f050 100644 --- a/common/.config/emacs/init.el.org +++ b/common/.config/emacs/init.el.org @@ -312,11 +312,8 @@ Install a better PDF viewer than =DocView=. Install and configure =eat= as a terminal emulator in Emacs with =eshell= as a shell. #+begin_src emacs-lisp - (use-package eat + (use-package eshell :init - (setopt eat-kill-buffer-on-exit t) - (eat-eshell-mode) - ;; Overwrite a default function that makes the prompt editable for some reason (defun eshell-emit-prompt () "Emit a prompt if eshell is being used interactively." @@ -340,7 +337,12 @@ Install and configure =eat= as a terminal emulator in Emacs with =eshell= as a s rear-nonsticky (read-only field font-lock-face))) prompt) (eshell-interactive-filter nil prompt))) - (run-hooks 'eshell-after-prompt-hook)) + (run-hooks 'eshell-after-prompt-hook))) + + (use-package eat + :init + (setopt eat-kill-buffer-on-exit t) + (eat-eshell-mode) (defun jj/shorten-path-str (path) (let* ((components (split-string (replace-regexp-in-string (getenv "HOME") "~" path) "/")) |