We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
_comp_compgen_NAME
_comp_compgen NAME
1 parent 08477b4 commit ea3a88eCopy full SHA for ea3a88e
bash_completion
@@ -437,6 +437,11 @@ _comp_split()
437
# [-alR|-v arr|-c cur] to the child calls of `_comp_compgen` in
438
# `_comp_compgen_NAME`.
439
#
440
+# @remarks When no options are supplied to _comp_compgen, `_comp_compgen NAME
441
+# args` is equivalent to the direct call `_comp_compgen_NAME args`. As the
442
+# direct call is slightly more efficient, the direct call is preferred over
443
+# calling it through `_comp_compgen`.
444
+#
445
# @remarks Design `_comp_compgen_NAME`: a function that produce completions can
446
# be defined with the name _comp_compgen_NAME. The function is supposed to
447
# generate completions by calling `_comp_compgen`. To reflect the options
0 commit comments