Fix capturing the command in more places

This commit is contained in:
Andrew Phillips
2023-09-21 15:04:12 +00:00
parent 359129f5f8
commit c149eb5a7d

View File

@@ -28,7 +28,7 @@ function __keep_preexec_init {
function keep {
(
if [[ $BASH_SUBSHELL -eq 2 ]]; then
if [[ $BASH_SUBSHELL -le 2 ]]; then
export KEEP_META_command
fi