On Mon, Feb 21, 2011 at 4:21 PM, Pierre Gaston <pierre.gas...@gmail.com>wrote:

>
>
> On Mon, Feb 21, 2011 at 10:12 AM, Clark J. Wang <dearv...@gmail.com>wrote:
>
>> Tested with 4.2:
>>
>> bash-4.2# complete -b help
>> bash-4.2# help co<TAB><TAB>
>> command   compgen   complete  compopt   continue
>> bash-4.2#
>>
>> --
>> Clark J. Wang
>>
> It's probably because:
> $ type coproc
> coproc is a shell keyword
>
> likewise help tim<TAB> doesn't complete "time"
>
>
>
I just checked and found that I actually write this in my bashrc:

complete -A helptopic help

But after bash loads my bashrc the compspec was changed to:

# complete -p help
complete -b help
#

And even ``helptopic'' does not show ``coproc'' either:

# compgen -A helptopic co
command
compgen
complete
compopt
continue
#

Should ``coproc'' be included in ``-A helptopic''?

-- 
Clark J. Wang

Reply via email to