Re: Feature request

2022-01-11 Thread Chet Ramey
On 1/11/22 6:24 AM, Tathastu Pandya via Bug reports for the GNU Bourne Again SHell wrote: > Just as PROMPT COMMAND thats get executed every time before any commamd. Is > there a way to execute predefined command after every command is executedeg. > Automatically record the exit status of currentk

Re: Feature request

2022-01-11 Thread Alex fxmbsw7 Ratchev
see maybe the debug trap On Tue, Jan 11, 2022, 16:12 Tathastu Pandya via Bug reports for the GNU Bourne Again SHell wrote: > Just as PROMPT COMMAND thats get executed every time before any commamd. > Is there a way to execute predefined command after every command is > executedeg. Automatically

Feature request

2022-01-11 Thread Tathastu Pandya via Bug reports for the GNU Bourne Again SHell
Just as PROMPT COMMAND thats get executed every time before any commamd. Is there a way to execute predefined command after every command is executedeg. Automatically record the exit status of currentky executed command to history file immeduately after a command ends or ctrl+c or any break or e