eshell: color prompt red if last command failed
This commit is contained in:
parent
f3aadf6c77
commit
41bac99a5f
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue