mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
eshell: color prompt red if last command failed
This commit is contained in:
@ -63,7 +63,8 @@
|
|||||||
'face '+eshell-prompt-pwd)
|
'face '+eshell-prompt-pwd)
|
||||||
(propertize (+eshell--current-git-branch)
|
(propertize (+eshell--current-git-branch)
|
||||||
'face '+eshell-prompt-git-branch)
|
'face '+eshell-prompt-git-branch)
|
||||||
" λ "))
|
(propertize " λ" 'face (if (zerop eshell-last-command-status) 'success 'error))
|
||||||
|
" "))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user