|
| From: | Chet Ramey |
| Subject: | Re: [BUG][bash][auto completion] if COMPREPLY contents ":" auto completion doesn't work properly |
| Date: | Tue, 26 Sep 2006 15:50:25 -0400 |
| User-agent: | Thunderbird 1.5.0.7 (Macintosh/20060909) |
Vasily Tarasov wrote:
> I suppose I've found a bug;
I need to make this part of the FAQ. The `:' is special to readline: it
splits words for the word completion code.
The default set of such characters is available in the COMP_WORDBREAKS
variable. Removing `:' from the value of that variable should produce
the behavior you want.
Something like
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
will do the job.
Chet
| [Prev in Thread] | Current Thread | [Next in Thread] |