summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-11-15 07:46:23 -0800
committerFranck Cuny <franck@fcuny.net>2022-11-15 07:46:23 -0800
commit5af3bb7dcca6e531abe4e830fa4aaf62e9493b9e (patch)
tree8b776f0da5b0caddac7c681a1ed57abc23025a1b
parentfix(eshell): use correct function (diff)
downloademacs.d-5af3bb7dcca6e531abe4e830fa4aaf62e9493b9e.tar.gz
fix(eshell): don't set the foreground color
Let the theme handle that.

Change-Id: I9a1b5ec6d48e0f059a15c8632411204c141ade07
-rw-r--r--emacs/custom/my-eshell.el7
1 files changed, 1 insertions, 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)