On Mon, Feb 12, 2018 at 6:33 PM, Chet Ramey <chet.ra...@case.edu> wrote: > > Because, as I said in my original reply, readline understands how to > complete inside quoted strings. If point is after the `b', for instance, > and you hit TAB, readline scans back to the open quote and passes > "p/foo/a b" to the completion function. >
I see... Still the *line* is split correctly into two words (ls | tm"p/foo a b") regardless of the presence of '"' in COMP_WORDBREAKS. Then readline decides to complete the second word (tm"p/foo/ a b) in this manner (ignoring the part before the quotes). So this is not really pertinent to our original discussion... /npat