From 93e32cc6fcab216387153f17afef7799413ed727 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 15 Nov 2022 08:04:00 -0800 Subject: fix(eshell): don't set the color for the prompt Change-Id: I43a450d0d0c5d109aadcf6dd6961cdf719d49121 --- emacs/custom/my-eshell.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/custom') diff --git a/emacs/custom/my-eshell.el b/emacs/custom/my-eshell.el index 3ab2475..7a4e8db 100644 --- a/emacs/custom/my-eshell.el +++ b/emacs/custom/my-eshell.el @@ -97,7 +97,8 @@ append to it, while separating multiple outputs with (defun my/prompt () "EShell prompt displaying VC info and such." - (concat (my/short-pwd (eshell/pwd)) (with-face " λ " :foreground "#63c904"))) + (concat (my/short-pwd (eshell/pwd)) + (if (= (user-uid) 0) " # " " λ "))) (define-key eshell-mode-map (kbd "C-c e e") 'my/eshell-export) -- cgit 1.4.1