From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19673 invoked from network); 15 Jun 1999 16:36:42 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Jun 1999 16:36:42 -0000 Received: (qmail 13660 invoked by alias); 15 Jun 1999 16:36:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6644 Received: (qmail 13646 invoked from network); 15 Jun 1999 16:36:30 -0000 From: "Bart Schaefer" Message-Id: <990615163626.ZM23923@candle.brasslantern.com> Date: Tue, 15 Jun 1999 16:36:25 +0000 In-Reply-To: <4FBF540FF16FD1119D9600A0C94B2B51F29E87@napier.logica.co.uk> Comments: In reply to "Kiddle, Oliver" "Completion for limits" (Jun 15, 9:41am) References: <4FBF540FF16FD1119D9600A0C94B2B51F29E87@napier.logica.co.uk> X-Mailer: Z-Mail (5.0.0 30July97) To: "'zsh-workers@sunsite.auc.dk'" Subject: Re: Completion for limits MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 15, 9:41am, Kiddle, Oliver wrote: } Subject: Completion for limits } } The new-style completion for limits doesn't work anymore. } } ! compgen -k "(${(j: :)${(f)$(limit)}%% *})" } --- 1,3 ---- } ! compgen -s '${${(f)"$(limit)"}%% *}' Hrm. This must have been broken for a while ... even before the change to handling of quotes within ${...}, that would have needed to be compgen -k "(${(@j: :)${(f)$(limit)}%% *})" Using `compgen -s ...' is going to re-evaluate $(limit) every time the completion is performed. Is adding the @ a better choice? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com