diff options
Diffstat (limited to 'lisp/eshell/em-prompt.el')
-rw-r--r-- | lisp/eshell/em-prompt.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/eshell/em-prompt.el b/lisp/eshell/em-prompt.el index 6780c98374a..8d319406755 100644 --- a/lisp/eshell/em-prompt.el +++ b/lisp/eshell/em-prompt.el @@ -46,9 +46,9 @@ as is common with most shells." (defcustom eshell-prompt-function (function (lambda () - (concat (eshell/pwd) + (concat (abbreviate-file-name (eshell/pwd)) (if (= (user-uid) 0) " # " " $ ")))) - "*A function that returns the Eshell prompt string. + "A function that returns the Eshell prompt string. Make sure to update `eshell-prompt-regexp' so that it will match your prompt." :type 'function |