[Emacs] Customize a bit Eshell’s prompt
This commit is contained in:
parent
bcfded9a76
commit
3e0065d9d1
@ -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]* [#λ] ")
|
||||
<<eshell-alias-file>>
|
||||
<<eshell-concat-shell-command>>
|
||||
<<eshell-alias-open>>
|
||||
|
Loading…
Reference in New Issue
Block a user