On 5/1/11 11:02 AM, Ville Skyttä wrote:
> Hello,
> 
> Completion functions seem to be invoked for the first word even when the
> cursor is before that word.  For example:
> 
> $ foo() { echo ; echo completing; }
> $ foo # hit Ctrl-A to go to beginning of line (before foo), then Tab
> completing

I think this should perform command word completion.  I will have to see
why it doesn't.

> Same thing if there's whitespace before the first word and cursor is
> somewhere there in the whitespace.  Is this on purpose?

This is more bash trying to be helpful.  I will look at whether or not
this is worth changing for the next version.

Chet

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