diff --git a/org/config/emacs.org b/org/config/emacs.org index f52fe0e..0fb91c4 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -3085,6 +3085,11 @@ though. "C-a" #'eshell-bol "C-e" #'end-of-line) :config + (setq eshell-prompt-function + (lambda () + (concat (abbreviate-file-name (eshell/pwd)) + (if (= (user-uid) 0) " # " " λ "))) + eshell-prompt-regexp "^[^#λ\n]* [#λ] ") <> <> <>