Fix eshell prompt coloring
This commit is contained in:
parent
26c19456e8
commit
07d3e34fd2
@ -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]* [#λ] ")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user