From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24806 invoked from network); 25 Jul 2005 21:43:32 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Jul 2005 21:43:32 -0000 Received: (qmail 81090 invoked from network); 25 Jul 2005 21:43:25 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Jul 2005 21:43:25 -0000 Received: (qmail 2302 invoked by alias); 25 Jul 2005 21:43:17 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9176 Received: (qmail 2292 invoked from network); 25 Jul 2005 21:43:17 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Jul 2005 21:43:17 -0000 Received: (qmail 79926 invoked from network); 25 Jul 2005 21:43:17 -0000 Received: from smtp7.poczta.onet.pl (213.180.130.47) by a.mx.sunsite.dk with SMTP; 25 Jul 2005 21:43:11 -0000 Received: from gw1-gts.polanet.pl ([217.153.83.162]:48399 "EHLO os.mil.gov.pl") by ps7.test.onet.pl with ESMTP id ; Mon, 25 Jul 2005 23:42:56 +0200 X-NAT-Received: from 217.153.242.14:33271 [ident-empty] by smtp-proxy.polanet.pl with TPROXY id 1122327774.10901 Received: from gotar by os.mil.gov.pl with local (masqmail 0.2.19) id 1DxAhq-0bS-00 for ; Mon, 25 Jul 2005 23:41:50 +0200 Date: Mon, 25 Jul 2005 23:41:50 +0200 From: GoTaR To: zsh-users@sunsite.dk Subject: Re: default pipe Message-ID: <20050725214150.GA2151@os> References: <20050725145737.GA903@os> <1050725172814.ZM28171@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <1050725172814.ZM28171@candle.brasslantern.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.0.4 On Mon, Jul 25, 2005 at 17:28:14 +0000, Bart Schaefer wrote: > } $ ls | > > This is syntactically incomplete, so zsh is going to print the PS2 > prompt and wait for you to enter another command. In most cases I > think this is what you'd want. Actually I always finish pipes in a line, so it's never what I want;] > The only way to subvert this is to hack the accept-line ZLE widget: [...] > zle -N accept-line accept-pipe-as-terminator Works perfect:) Thanks! -- GoTaR gotar> http://vfmg.sourceforge.net/ http://tccs.sourceforge.net/