From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24217 invoked from network); 3 Jul 2000 08:51:53 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Jul 2000 08:51:53 -0000 Received: (qmail 25117 invoked by alias); 3 Jul 2000 08:51:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12136 Received: (qmail 25107 invoked from network); 3 Jul 2000 08:51:37 -0000 From: "Bart Schaefer" Message-Id: <1000703085124.ZM17548@candle.brasslantern.com> Date: Mon, 3 Jul 2000 08:51:23 +0000 In-Reply-To: <200007030812.KAA04547@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: PATCH: Problem with _expand, _path_files, and $(command)" (Jul 3, 10:12am) References: <200007030812.KAA04547@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: Sven Wischnowsky , zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Problem with _expand, _path_files, and $(command) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 3, 10:12am, Sven Wischnowsky wrote: } Subject: Re: PATCH: Problem with _expand, _path_files, and $(command) } } Bart Schaefer wrote: } } > zagzig[88] echo $(exit 0) } > zagzig[88] echo \$\*\(exit\ 0Om\) } } Shouldn't we just test for [[ $PREFIX$SUFFIX = *\$\(*\)* ]] and } give up if that is true? This is a contrived example, but: zagzig[128] ls Completion/$(echo Core)/_ Completing file _funcall _compalso _files _ignored _menu _approximate _list _setup (etc.) This is without the _expand completer. (The odd-looking order of the file names is because my styles display them sorted by mod time.) Is that still going to work if _path_files gives up as you suggest? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net