Fix capturing the command in more places
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user