From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97 invoked from network); 5 Dec 2004 20:57:32 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Dec 2004 20:57:32 -0000 Received: (qmail 48599 invoked from network); 5 Dec 2004 20:57:26 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Dec 2004 20:57:26 -0000 Received: (qmail 6703 invoked by alias); 5 Dec 2004 20:56:33 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8270 Received: (qmail 6685 invoked from network); 5 Dec 2004 20:56:30 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Dec 2004 20:56:30 -0000 Received: (qmail 47053 invoked from network); 5 Dec 2004 20:55:29 -0000 Received: from mxfep01.bredband.com (195.54.107.70) by a.mx.sunsite.dk with SMTP; 5 Dec 2004 20:55:27 -0000 Received: from puritan.pcp.ath.cx ([213.112.43.197] [213.112.43.197]) by mxfep01.bredband.com with ESMTP id <20041205205527.KQIF18879.mxfep01.bredband.com@puritan.pcp.ath.cx> for ; Sun, 5 Dec 2004 21:55:27 +0100 Received: by puritan.pcp.ath.cx (Postfix, from userid 1000) id C37BBAE066; Sun, 5 Dec 2004 21:55:28 +0100 (CET) Date: Sun, 5 Dec 2004 21:55:28 +0100 From: Nikolai Weibull To: zsh-users@sunsite.dk Subject: Re: history not saving elapsed times Message-ID: <20041205205528.GA9467@puritan.pcp.ath.cx> Mail-Followup-To: zsh-users@sunsite.dk References: <20041204223007.GA9393@puritan.pcp.ath.cx> <20041205194951.GA5469@blorf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041205194951.GA5469@blorf.net> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.5 required=6.0 tests=RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 1.5 * Wayne Davison [Dec 05, 2004 21:00]: > > Zsh isn't storing elapsed times in my history, all entries are like > > : :0; > This happens if you use one of the incremental-append history options: > since zsh writes out the history line before running it, it doesn't > know what the elapsed time for the command will be, so it always > writes it out with an elapsed time of 0. Aha! That's too bad...but I really like incremental-append history. Thanks, nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}