summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-11-15 08:04:00 -0800
committerFranck Cuny <franck@fcuny.net>2022-11-15 08:04:00 -0800
commit93e32cc6fcab216387153f17afef7799413ed727 (patch)
treee94141771da3371b4026e724a7783283c2b8e92f /emacs
parentfeat(org): enable variable-pitch-mode (diff)
downloademacs.d-93e32cc6fcab216387153f17afef7799413ed727.tar.gz
fix(eshell): don't set the color for the prompt
Change-Id: I43a450d0d0c5d109aadcf6dd6961cdf719d49121
Diffstat (limited to 'emacs')
-rw-r--r--emacs/custom/my-eshell.el3
1 files changed, 2 insertions, 1 deletions
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)