diff options
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) |