diff options
author | Franck Cuny <franck@fcuny.net> | 2022-11-15 08:04:00 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-11-15 08:04:00 -0800 |
commit | 93e32cc6fcab216387153f17afef7799413ed727 (patch) | |
tree | e94141771da3371b4026e724a7783283c2b8e92f /emacs | |
parent | feat(org): enable variable-pitch-mode (diff) | |
download | emacs.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.el | 3 |
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) |