Skip to content

Commit d6f8402

Browse files
committed
fix(_comp_compgen_help): work around nounset
1 parent ef3585d commit d6f8402

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
@@ -1230,6 +1230,7 @@ _comp_compgen_help()
12301230
;;
12311231
esac
12321232
)"
1233+
((${#stdout[@]})) || return 1
12331234
12341235
local -a _options=()
12351236
local _line _match _option _i _char

0 commit comments

Comments
 (0)