[Emacs] Customize a bit Eshell’s prompt

此提交包含在:
2022-02-26 15:38:02 +01:00
父節點 bcfded9a76
當前提交 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>>