bash-preexec
bash-preexec copied to clipboard
Run preexec for commented out commands
Currently preexec doesn't run on commented out commands, since they aren't included in $BASH_COMMAND
. This means that tools like atuin don't know about them, see here.
It will be great if there was a way to run preexec in this case.
Perhaps related to https://github.com/rcaloras/bash-preexec/issues/153, https://github.com/rcaloras/bash-preexec/pull/143?