From f8a6d14feef9a6b1d547f8c4117fae944292f674 Mon Sep 17 00:00:00 2001 From: noa Date: Tue, 17 Sep 2024 10:37:40 +0800 Subject: Remove eshell preamble and eshell motd --- emacs/init.el | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index af98674..6ec870d 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -896,21 +896,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." (setopt message-auto-save-directory "~/Documents/mail/drafts") - -;;; System administration -;; Eshell -;; Eshell is a command shell written in elisp. It integrates with emacs in a more consistent manner than the other shells available, although it still has its own quirks. - -;; In general, i try and avoid using a shell if possible, because i think that bespoke emacs interfaces to different commands tend to have more pleasant interaction methods. But there are still lots of things which are simply easier to do with a shell. - -;; Set the eshell banner -;; This is equivalent to the message of the day present in some shells. I wanted it to print a new quote every time eshell opened, but when i tried that eshell refused to load. Probably some mistake on my end. - -(defun noa/eshell-banner-message () - (concat (cookie cookie-file) - "\n\n")) -(setopt eshell-banner-message (noa/eshell-banner-message)) - ;; Environment variables (setenv "PAGER" "cat") -- cgit 1.4.1-2-gfad0