From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18676 invoked from network); 3 May 2000 10:40:54 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 May 2000 10:40:54 -0000 Received: (qmail 17539 invoked by alias); 3 May 2000 10:40:45 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11100 Received: (qmail 17508 invoked from network); 3 May 2000 10:40:43 -0000 From: "Bart Schaefer" Message-Id: <1000503103921.ZM21435@candle.brasslantern.com> Date: Wed, 3 May 2000 10:39:21 +0000 In-Reply-To: <200005030841.KAA23096@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: Globbing and RC_EXPAND_PARAM" (May 3, 10:41am) References: <200005030841.KAA23096@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk, Sven Wischnowsky Subject: Re: Globbing and RC_EXPAND_PARAM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 3, 10:41am, Sven Wischnowsky wrote: } Subject: Re: Globbing and RC_EXPAND_PARAM } } Not very nice either: *(/e:REPLY=-I\$REPLY) } } Whoa! Dirty tricks ;-) zagzig[86] echo *(/e:REPLY=-I\$REPLY) zsh: missing end of string zagzig[87] echo *(/e:REPLY=-I\$REPLY:) -ICVS -ICompletion -IConfig -IDoc -IEtc -IFunctions -IMisc -ISrc -IStartupFiles -ITest -IUtil Pretty cool, but one can play hell with _expand this way ... zagzig[91] echo Completion/*(/e:REPLY=-I\$REPLY:) zagzig[91] echo -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY Completing all expansions -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY Completing expansions -I$REPLY Completing original Completion/*(/e:REPLY=-I\$REPLY:) -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com