Skip to content

Commit 4caf63c

Browse files
committed
Add a note on the "trace" function attribute
1 parent d258414 commit 4caf63c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bash-preexec.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,8 @@ bash_preexec_uninstall() {
405405
fi
406406
fi
407407
}
408+
# Note: We need to add "trace" attribute to the function so that "trap - DEBUG"
409+
# inside the function takes an effect.
408410
declare -ft bash_preexec_uninstall
409411

410412
# Run our install so long as we're not delaying it.

0 commit comments

Comments
 (0)