From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19333 invoked from network); 3 Mar 2008 12:26:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Mar 2008 12:26:20 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 9646 invoked from network); 3 Mar 2008 12:26:05 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Mar 2008 12:26:05 -0000 Received: (qmail 7529 invoked by alias); 3 Mar 2008 12:25:55 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12674 Received: (qmail 7506 invoked from network); 3 Mar 2008 12:25:54 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 3 Mar 2008 12:25:54 -0000 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.225]) by bifrost.dotsrc.org (Postfix) with ESMTP id 06B2E8028C52 for ; Mon, 3 Mar 2008 13:25:47 +0100 (CET) Received: by wx-out-0506.google.com with SMTP id h27so5681506wxd.3 for ; Mon, 03 Mar 2008 04:25:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=rLXds5qcQqzbG9FDDPNJZH+iYH7GNFTjGXl4nW5iILA=; b=aGYKqkRWZpKw34IUQdC5o+8O220qzjys17NaQ2TmouWRMvs09ETgWmVV9N70UBMhEP8vJl2PrxIASIE18fBTuFvI9e/KEm2f6tDWS/5I/8gi5NX24sJQ5tRygSTogb0hM5AvP5tgiXVoTOj9QCDGTqC07m5Kvl4x+OSNz/a9gwk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AWhnBvLXnsUXDqQclE4Gj2VBH1xqUXaDa09ZYaS5DEF93XFzeXFtMPDaIYU4nlBEhNvNYKzyfOMYkYlYuI3Slwq482MJORdSdsK6qKFodR5NGrJewSnmL0FZSY+wv3+wzVOxH6CPqGEsoNVSx1QuRx8lUsEz4u25skQFbPmUIKg= Received: by 10.100.165.13 with SMTP id n13mr29548151ane.77.1204547146574; Mon, 03 Mar 2008 04:25:46 -0800 (PST) Received: by 10.100.143.1 with HTTP; Mon, 3 Mar 2008 04:25:46 -0800 (PST) Message-ID: <2d460de70803030425t4233caa9l57519aac0796d82a@mail.gmail.com> Date: Mon, 3 Mar 2008 13:25:46 +0100 From: "Richard Hartmann" To: "Bart Schaefer" Subject: Re: Editing history stack during runtime? Cc: "zsh users" In-Reply-To: <080301045937.ZM19496@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2d460de70802281709n1847611cp6cb9a5273e212bae@mail.gmail.com> <080229084310.ZM17549@torch.brasslantern.com> <2d460de70802291142u4bdf7c94qa330ff9dad1324f0@mail.gmail.com> <080229192218.ZM18081@torch.brasslantern.com> <2d460de70803010238l5f221208q1bd0a090c9eca3a9@mail.gmail.com> <080301045937.ZM19496@torch.brasslantern.com> X-Virus-Scanned: ClamAV 0.91.2/6092/Mon Mar 3 06:04:26 2008 on bifrost X-Virus-Status: Clean On Sat, Mar 1, 2008 at 1:59 PM, Bart Schaefer wrote: > "The history accumulated since I logged in" *includes* the history > read from the history file at shell startup. There's no way to pick > out only what happened after that; it's all in the same stack, with > the oldest stuff falling off one end and the latest stuff added to > the other. Hmm, now that I think about it, this _does_ make sense. Matter of fact, nothing else would. I will probably try and hack something together that uses a custom variable to store invocation time of the shell and then parses out everything on the stack that is older than this time. Thanks :) Richard