You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 #153, #143?
The text was updated successfully, but these errors were encountered:
It will be great if there was a way to run preexec in this case.
Once Bash 5.3 comes out, #28 (comment) should work as far as I understand.
Particularly for the case of Atuin, since the number of variables that Atuin tries to modify in preexec is limited, the combination of subshell and parameter expansion, e.g. PS0=${ATUIN_HISTORY_ID:=$(...)} might also work in Bash 4.4+.
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 #153, #143?
The text was updated successfully, but these errors were encountered: