From 07d3e34fd2fb13321786494bdeffab4c4a01affe Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 15 Jan 2021 15:59:17 -0500 Subject: [PATCH] Fix eshell prompt coloring --- emacs/.emacs.d/init.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index fc38dd0..2502edd 100755 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -2694,9 +2694,11 @@ Compilation-shell-minor-mode: (format "%s%s" (if branch (format "(%s) " branch) "") (concat (abbreviate-file-name (eshell/pwd)) + " " (propertize - (if (= (user-uid) 0) " # " " λ ") - 'face `(:foreground "#859900")))))) + (if (= (user-uid) 0) "#" "λ") + 'face `(:foreground "#859900")) + " ")))) (setq jdormit-eshell-prompt-regex "^[^#λ\n]* [#λ] ")