Skip to content

Commit

Permalink
fix(_comp_finalize): preserve existing values of the finalizer hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Apr 13, 2022
1 parent d06a9b4 commit f1f454b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -953,11 +953,11 @@ _comp_finalize__original_return_trap=

# This associative array contains the finalizer commands with the key
# being the name of the completed command.
declare -gA BASH_COMPLETION_FINALIZE_CMD_HOOKS=()
declare -gA BASH_COMPLETION_FINALIZE_CMD_HOOKS

# This array contains the general finalizer commands that will be
# executed for all the commands.
BASH_COMPLETION_FINALIZE_HOOKS=()
declare -ga BASH_COMPLETION_FINALIZE_HOOKS

_comp_finalize()
{
Expand Down

0 comments on commit f1f454b

Please sign in to comment.