system changes

This commit is contained in:
jjanzen 2025-03-14 10:32:06 -05:00
parent c586e740f1
commit 2613967630

View file

@ -312,11 +312,6 @@ 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
:init
(setopt eat-kill-buffer-on-exit t)
(eat-eshell-mode)
(add-hook 'eshell-mode-hook (lambda ()
(require 'em-prompt)
;; Overwrite a default function that makes the prompt editable for some reason
(defun eshell-emit-prompt ()
@ -341,7 +336,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) "/"))