From d027156b28487d2d1340a3c6adf2204e6784fd96 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 2 Oct 2023 12:27:55 +0300 Subject: emacs: Update eshells with eat config & env variables --- .emacs.d/modules/thanos-shells.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.emacs.d/modules/thanos-shells.el b/.emacs.d/modules/thanos-shells.el index 36552d4..f8aaa9f 100644 --- a/.emacs.d/modules/thanos-shells.el +++ b/.emacs.d/modules/thanos-shells.el @@ -30,9 +30,7 @@ ;;; Code: (setenv "EDITOR" "emacsclient -n") -(setenv "DEBEMAIL" "public@thanosapollo.com") -(setenv "DEBNAME" "Thanos Apollo") -(setenv "SBCL_HOME" "/usr/local/lib/sbcl") +(setenv "SBCL_HOME" "~/Developer/common-lisp/sbcl") (setenv "XDG_SESSION_TYPE" "x11") ;; configuration with eat @@ -40,8 +38,9 @@ (require 'eat) (setf eshell-visual-commands '()) -(eat-eshell-mode 1) +(add-hook 'eshell-load-hook #'eat-eshell-mode) +(add-hook 'eshell-load-hook #'eat-eshell-visual-command-mode) ;;;; sudo completion (defun pcomplete/sudo () "Completion rules for the `sudo' command." -- cgit v1.2.3