diff options
| author | bard <[email protected]> | 2024-04-13 11:30:20 -0400 |
|---|---|---|
| committer | bard <[email protected]> | 2024-04-13 11:30:20 -0400 |
| commit | dfd24ab72e985b32dcac868e3f502f6654dfd24d (patch) | |
| tree | 586312b1f506b83834ef01557c3b53fc1d7c5bb7 /bard-emacs-modules/bard-emacs-eshell.el | |
| parent | e49e7e25685eded6beb1fbde68c1ee4fe4243e43 (diff) | |
new prompt and login message
Diffstat (limited to 'bard-emacs-modules/bard-emacs-eshell.el')
| -rw-r--r-- | bard-emacs-modules/bard-emacs-eshell.el | 10 |
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" |
