On 2/21/11 3:55 AM, Clark J. Wang wrote:
> 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

Look at /etc/bash_completion, or wherever your programmable completion
package is installed.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to