retitle 674084 bash: please let [TAB] complete whole word, ignoring 
$COMP_WORDBREAKS, unless there are no matches
quit

Vincent Lefevre wrote:

> The default value is here different:
>
> $ echo $COMP_WORDBREAKS
> "'><=;|&(:
>
> (I think yours is buggy because you definitely don't want the dot to
> be part of $COMP_WORDBREAKS, as many filenames have a dot in them.)

Thanks.  Yeah, I'm not sure what the @-sign is about in mine.  (The
dot was just a transcription error.)

[...]
>                                           However I think that
> bash could "easily" be improved: IMHO, $COMP_WORDBREAKS should
> be taken into account only if [TAB] wouldn't find any match
> without $COMP_WORDBREAKS.

That sounds reasonable to me at first glance.  Chet can be reached
at bug-b...@gnu.org or using the bashbug command, if you find
yourself with time to pursue it.

Ciao,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to