From 5af3bb7dcca6e531abe4e830fa4aaf62e9493b9e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 15 Nov 2022 07:46:23 -0800 Subject: fix(eshell): don't set the foreground color Let the theme handle that. Change-Id: I9a1b5ec6d48e0f059a15c8632411204c141ade07 --- emacs/custom/my-eshell.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/emacs/custom/my-eshell.el b/emacs/custom/my-eshell.el index f382241..3ab2475 100644 --- a/emacs/custom/my-eshell.el +++ b/emacs/custom/my-eshell.el @@ -97,12 +97,7 @@ append to it, while separating multiple outputs with (defun my/prompt () "EShell prompt displaying VC info and such." - (concat - (with-face (concat (my/short-pwd (eshell/pwd)) " ") :foreground "#070707") - (if (= 0 (user-uid)) - (with-face "#" :foreground "#f43841") - (with-face "λ" :foreground "#63c904")) - (with-face " " :foreground "#000000"))) + (concat (my/short-pwd (eshell/pwd)) (with-face " λ " :foreground "#63c904"))) (define-key eshell-mode-map (kbd "C-c e e") 'my/eshell-export) -- cgit 1.4.1