On 1/4/12 8:54 PM, Peng Yu wrote:
> Hi,
> 
> I want to customize the command completion for completing executables,
> I want to search in a file (which includes all the executables in
> PATH) rather than the default PATH variable. But I don't see how to do
> so, as the following help indicates that it can only configure how to
> complete the arguments of a command. 

If you upgrade, bash-4.1 added the `-E' option to complete to complete on
empty lines.  There is no programmable completion mechanism to complete
on non-empty command names.

-- 
``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