From b991af552c51c7d77410eb41353ff0464f2e9838 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 16 Jun 2018 16:59:33 +0200 Subject: [PATCH] A slightly more informative default eshell banner --- modules/emacs/eshell/config.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/emacs/eshell/config.el b/modules/emacs/eshell/config.el index e87bde4f0..7200a6e37 100644 --- a/modules/emacs/eshell/config.el +++ b/modules/emacs/eshell/config.el @@ -18,7 +18,13 @@ ;; (after! eshell ; built-in - (setq eshell-scroll-to-bottom-on-input 'all + (setq eshell-banner-message + '(format "%s %s\n" + (propertize (format " %s " (string-trim (buffer-name))) + 'face 'mode-line-highlight) + (propertize (current-time-string) + 'face 'font-lock-keyword-face)) + eshell-scroll-to-bottom-on-input 'all eshell-scroll-to-bottom-on-output 'all eshell-buffer-shorthand t eshell-kill-processes-on-exit t