aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-eshell.el
diff options
context:
space:
mode:
Diffstat (limited to 'bard-emacs-modules/bard-emacs-eshell.el')
-rw-r--r--bard-emacs-modules/bard-emacs-eshell.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/bard-emacs-modules/bard-emacs-eshell.el b/bard-emacs-modules/bard-emacs-eshell.el
index b129ac0..726cf94 100644
--- a/bard-emacs-modules/bard-emacs-eshell.el
+++ b/bard-emacs-modules/bard-emacs-eshell.el
@@ -1,7 +1,15 @@
(use-package eshell
:ensure t
:config
- (setq eshell-banner-message "Time for another recreational programming session.\n\n"))
+ ;; (setq eshell-banner-message "Time for another recreational programming session.\n\n")
+ (setq eshell-banner-message
+ '(format "%s %s\n %s\n"
+ (propertize (format " %s " (string-trim (buffer-name)))
+ 'face 'mode-line-highlight)
+ (propertize (current-time-string)
+ 'face 'font-lock-keyword-face)
+ (propertize "Time for another recreational programming session."
+ 'face 'warning))))
(define-key global-map (kbd "C-z e") #'eshell-switcher)
(with-eval-after-load "esh-mode"