Re: Tab completion and ':'s

2014-11-14 Thread Vadim Berezniker
On Fri Nov 14 2014 at 2:47:04 PM Chet Ramey wrote: > On 11/14/14, 10:49 AM, Vadim Berezniker wrote: > > Thanks for the reply Chet, > > > > The completer is being setup in Bash, not directly through readline > (sorry > > if I wasn't detailed enough in my origi

Re: Tab completion and ':'s

2014-11-14 Thread Vadim Berezniker
Thanks for the reply Chet, The completer is being setup in Bash, not directly through readline (sorry if I wasn't detailed enough in my original post). Even though readline might break the completion on the ':', we can use COMP_LINE/COMP_POINT to figure out the URL that needs to be completed (igno

Tab completion and ':'s

2014-11-13 Thread Vadim Berezniker
I'm working on adding tab completion to an application that deals with URLs, among other things. Since readline includes ':' as a delimiting character, it causes minor annoyances with tab-completing URLs. There's the known workaround of removing ':' from COMP_WORDBREAKS, but that requires every per