Re: COMPREPLY scope

2013-06-01 Thread Raphaƫl Droz
On Fri, May 17, 2013 at 02:50:09PM -0700, Mario Signorino wrote: > Another idea is to add a delimitation around the completion result: I > could trap it easily. But I did not find how do that. I thought about time some times ago. My goal was to enclose the burn-cd files completion result with a t

Re: COMPREPLY scope

2013-05-22 Thread Chet Ramey
On 5/17/13 5:50 PM, Mario Signorino wrote: > Hi all > > I need some help and possibly also an advice. > > Is it possible to retrieve the COMPREPLY variable outside and/or after > calling the complete function? No. The programmable completion code unsets COMPREPLY after the shell function comp

COMPREPLY scope

2013-05-17 Thread Mario Signorino
Hi all I need some help and possibly also an advice. Is it possible to retrieve the COMPREPLY variable outside and/or after calling the complete function? I'm working a special terminal emulator inherited from gnome-terminal. I want to modify the common TAB behaviour and manipulate the result