Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(_comp_finalize): fix up f1f454b for nounset
Browse files Browse the repository at this point in the history
akinomyoga committed Apr 13, 2022
1 parent f1f454b commit 157fbf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash_completion
Original file line number Diff line number Diff line change
@@ -972,7 +972,7 @@ _comp_finalize()
fi

# Call general finalizers
if ((${#BASH_COMPLETION_FINALIZE_HOOKS[@]})); then
if [[ ${BASH_COMPLETION_FINALIZE_HOOKS[*]+set} ]]; then
for _comp_local_hook in "${BASH_COMPLETION_FINALIZE_HOOKS[@]}"; do
eval -- "$_comp_local_hook"
done

0 comments on commit 157fbf9

Please sign in to comment.