diff options
Diffstat (limited to 'Emacs/.config')
-rw-r--r-- | Emacs/.config/emacs/app.org | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/app.org b/Emacs/.config/emacs/app.org index 30f845a..bfea843 100644 --- a/Emacs/.config/emacs/app.org +++ b/Emacs/.config/emacs/app.org @@ -506,9 +506,17 @@ changes that haven't been committed). "\n" '("𝜆> " :foreground "DeepSkyBlue"))))) + (defun +eshell/banner-message () + (concat (shell-command-to-string + (let ((possible-cows '("default" "cower" "moofasa" "moose" + "mutilated" "satanic" "sheep" + "small" "tux" "vader"))) + (format "fortune | cowsay -f %s" (nth (random (length possible-cows)) possible-cows)))) + "\n")) + (setq eshell-cmpl-ignore-case t eshell-cd-on-directory t - eshell-banner-message (concat (shell-command-to-string "fortune | cowsay") "\n") + eshell-banner-message '(+eshell/banner-message) eshell-highlight-prompt nil eshell-prompt-function #'+eshell/prompt-function eshell-prompt-regexp "^𝜆> ")) |