Skip to content

Commit 3e9fae5

Browse files
committed
refactor: fold comment lines on column 80
1 parent 705c512 commit 3e9fae5

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

bash_completion

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,21 +1073,22 @@ _comp_initialize()
10731073
local exclude="" opt_split="" outx errx inx
10741074

10751075
if ((${#FUNCNAME[@]} >= 2)); then
1076-
# Install "_comp_finalize" to the RETURN trap when "_init_completion" is
1077-
# called for the top-level completion. [ Note: the completion function may
1078-
# be called recursively using "_command_offset", etc. ]
1076+
# Install "_comp_finalize" to the RETURN trap when "_init_completion"
1077+
# is called for the top-level completion. [ Note: the completion
1078+
# function may be called recursively using "_command_offset", etc. ]
10791079
if ((${#_comp_finalize__depth[@]} == 0)); then
10801080
_comp_finalize__original_int_trap=$(trap -p INT)
10811081
if shopt -q extdebug || shopt -qo functrace; then
1082-
# If extdebug / functrace is set, we need to explicitly save and
1083-
# restore the original trap handler because the outer trap handlers
1084-
# will be affected by "trap - RETURN" inside functions with these
1085-
# settings.
1082+
# If extdebug / functrace is set, we need to explicitly save
1083+
# and restore the original trap handler because the outer trap
1084+
# handlers will be affected by "trap - RETURN" inside functions
1085+
# with these settings.
10861086
_comp_finalize__original_return_trap=$(trap -p RETURN)
10871087
else
1088-
# Otherwise, the outer RETURN trap will be restored when the RETURN
1089-
# trap is removed inside the functions using "trap - RETURN". So, we
1090-
# do not need to explicitly save the outer trap handler.
1088+
# Otherwise, the outer RETURN trap will be restored when the
1089+
# RETURN trap is removed inside the functions using "trap -
1090+
# RETURN". So, we do not need to explicitly save the outer
1091+
# trap handler.
10911092
_comp_finalize__original_return_trap=
10921093
fi
10931094

0 commit comments

Comments
 (0)