Fix eshell prompt coloring

This commit is contained in:
Jeremy Dormitzer 2021-01-15 15:59:17 -05:00
parent 26c19456e8
commit 07d3e34fd2

View File

@ -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]* [#λ] ")