bash command history update before execution of command
- by Jon
Hi,
Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.
However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the…