Skip to content

Commit 01527e5

Browse files
committed
Add a note on the "trace" function attribute
1 parent a2216fc commit 01527e5

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
@@ -403,6 +403,8 @@ bash_preexec_uninstall() {
403403
fi
404404
fi
405405
}
406+
# Note: We need to add "trace" attribute to the function so that "trap - DEBUG"
407+
# inside the function takes an effect.
406408
declare -ft bash_preexec_uninstall
407409

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

0 commit comments

Comments
 (0)