bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ``complete -b'' does not include ``coproc''


From: Clark J. Wang
Subject: Re: ``complete -b'' does not include ``coproc''
Date: Mon, 21 Feb 2011 16:55:44 +0800

On Mon, Feb 21, 2011 at 4:21 PM, Pierre Gaston <address@hidden>wrote:

>
>
> On Mon, Feb 21, 2011 at 10:12 AM, Clark J. Wang <address@hidden>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

[Prev in Thread] Current Thread [Next in Thread]