Skip to content

Commit c133b1c

Browse files
committed
fix(_comp_compgen_help): work around nounset
1 parent 56d55ac commit c133b1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bash_completion

+1
Original file line numberDiff line numberDiff line change
@@ -1266,6 +1266,7 @@ _comp_compgen_help()
12661266
;;
12671267
esac
12681268
)"
1269+
((${#stdout[@]})) || return 1
12691270
12701271
local -a _options=()
12711272
local _line _match _option _i _char

0 commit comments

Comments
 (0)