From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25192 invoked from network); 3 Nov 1999 18:20:40 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Nov 1999 18:20:40 -0000 Received: (qmail 26435 invoked by alias); 3 Nov 1999 18:20:10 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2720 Received: (qmail 26428 invoked from network); 3 Nov 1999 18:20:09 -0000 X-Authentication-Warning: paullew-ultra.cisco.com: paullew set sender to paullew@cisco.com using -f From: Paul Lew Message-ID: <14368.31954.382549.492414@paullew-ultra.cisco.com> Date: Wed, 3 Nov 1999 10:20:02 -0800 (PST) To: "Bart Schaefer" cc: zsh-users@math.gatech.edu Subject: Re: How to do completion with read? In-Reply-To: <991103171829.ZM20958@candle.brasslantern.com> References: <14368.26696.664675.141950@paullew-ultra.cisco.com> <991103171829.ZM20958@candle.brasslantern.com> X-Mailer: VM 6.74 under Emacs 20.4.1 Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII >>>>> "Bart" == Bart Schaefer writes: Bart> Here's my "zleread" function again. Insert some commands to Bart> fiddle with the completion context just before the call to Bart> "vared" and you can get it to complete any way you like. Thanks for the script. I'm guessing what you mean by fiddle with the completion context is to create a temporary directory and create dummy files for completion purpose? So there is no mechanism to pass zcompctl arguments to vared? Seems vared only complete filename? -- Paul 11/03/99 10:18 AM --