eshell: color prompt red if last command failed
This commit is contained in:
parent
f3aadf6c77
commit
41bac99a5f
|
@ -63,7 +63,8 @@
|
|||
'face '+eshell-prompt-pwd)
|
||||
(propertize (+eshell--current-git-branch)
|
||||
'face '+eshell-prompt-git-branch)
|
||||
" λ "))
|
||||
(propertize " λ" 'face (if (zerop eshell-last-command-status) 'success 'error))
|
||||
" "))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue
Block a user