Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
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 completes. You might have some luck experimenting with the
default completion feature (complete -D), but you'll have to do all the
dispatching yourself.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/