summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2024-09-17 10:37:40 +0800
committernoa2024-09-17 10:37:40 +0800
commitf8a6d14feef9a6b1d547f8c4117fae944292f674 (patch)
tree2824a1e50ee850a3573c6e7ef379590730dec1b8 /emacs
parent880ebf86160ae71c75d903484876ca20f3359253 (diff)
Remove eshell preamble and eshell motd
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el15
1 files changed, 0 insertions, 15 deletions
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")