From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26190 invoked from network); 28 Mar 2007 00:24:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.8 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 28 Mar 2007 00:24:40 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 89678 invoked from network); 27 Mar 2007 21:37:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Mar 2007 21:37:54 -0000 Received: (qmail 1051 invoked by alias); 27 Mar 2007 21:37:51 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23244 Received: (qmail 1037 invoked from network); 27 Mar 2007 21:37:49 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 27 Mar 2007 21:37:49 -0000 Received: (qmail 89395 invoked from network); 27 Mar 2007 21:37:49 -0000 Received: from smtpout0150.sc1.he.tucows.com (HELO n066.sc1.he.tucows.com) (64.97.136.150) by a.mx.sunsite.dk with SMTP; 27 Mar 2007 21:37:44 -0000 Received: from sc.homeunix.net (82.26.160.246) by n066.sc1.he.tucows.com (7.2.069.1) id 45FC2B720006A865 for zsh-workers@sunsite.dk; Tue, 27 Mar 2007 21:37:43 +0000 Received: from chazelas by sc.homeunix.net with local (Exim 4.63) (envelope-from ) id 1HWJM7-00047k-0s for zsh-workers@sunsite.dk; Tue, 27 Mar 2007 22:37:27 +0100 Date: Tue, 27 Mar 2007 22:37:27 +0100 From: Stephane Chazelas To: Zsh hackers list Subject: completion after < at the start of the line Message-ID: <20070327213726.GF4885@sc.homeunix.net> Mail-Followup-To: Zsh hackers list Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.6i Hiya, some weird behavior, I suspect something wrong here. It all started with zsh taking 100% for some time (time being big) when doing $ < ~/loc some command That is invoking completion on a file after an input redirection added as an afterthought at the beggining of a command line. Now, some things easier to reproduce: $ mkdir 1 $ cd 1 $ touch foo bar $ zsh -f sc% < b foo (That is type "< b foo" move the cursor back to 4rd character, then type ) Then zsh completes that to: sc% < foo foo (instead of expected < bar foo). (don't know if that's related to the 100% CPU case). With either of 4.3.2-dev-1+20070322-1 or 4.3.2-25 debian packages. -- Stéphane