|
Hi there. When using the shell interactively, I like to be notified when a command fails. In |
Answered by
mwgamera
Dec 28, 2022
Replies: 1 comment 1 reply
|
It's not as obvious as it should be, but putting something along the lines of the following into ~/.esrc should save the result of each command as the global $status variable in login shells: I you want it in non-login interactive shell, then I'm afraid it might require modifying initial.es and recompiling. (cf. #33) |
1 reply
Answer selected by
oliwer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not as obvious as it should be, but putting something along the lines of the following into ~/.esrc should save the result of each command as the global $status variable in login shells:
I you want it in non-login interactive shell, then I'm afraid it might require modifying initial.es and recompiling. (cf. #33)