From c149eb5a7dd63b7259831537e5c7f5ebb51fe749 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Thu, 21 Sep 2023 15:04:12 +0000 Subject: [PATCH] Fix capturing the command in more places --- profile.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile.bash b/profile.bash index 86da09f..816c634 100755 --- a/profile.bash +++ b/profile.bash @@ -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