Thanks, I tester just now with bats 1.8.2 and curiously I get
ok 19 preexec should execute a function with IFS defined to local scope
not ok 20 precmd should execute a function with IFS defined to local scope
# (in test file test/bash-preexec.bats, line 272)
# `[ $status -eq 0 ]' failed
ok 21 preexec should set $? to be the exit code of preexec_function
This is an oversight of updating the test for change #131.
This fixes an issue reported in https://github.com/rcaloras/bash-preexec/issues/121#issuecomment-1318281281 by @rycee:
This is an oversight of updating the test for change #131.