From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20657 invoked by alias); 6 Jun 2015 16:54:50 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35401 Received: (qmail 3895 invoked from network); 6 Jun 2015 16:54:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=PSO28gOuX7x7NE4a3XTXkL1bIVnGcZ0EtUxnVGbSnhU=; b=EL0lEFUf+b49tfodE/hhMBGlD+8sJXfqzNUjKxrOBKWqEwdNvVib+PvM5NdeJbeOqm lYoD/uNHYPbmnQ5R/zXXIAHv1ZZcWlyLj7wGGLXpjkNk7+9Gu+JDgybZEYXdz2P7FAwS p3iqcwMxeX+pEXjhFbEFckzAgvGTmnMBgnd/H6EZ8lQWFQpjLJOBrku2lDG4E8BuawuL j/w+eYbnv2JrLh6C3AviVjFw0ku82bU8uqqKNI6f0oinuwX8L5OzP9keEbXd5ByBqhBL pbmuUuFS9qoYJ62l0bAvLmvgNYI3bCewvl3gxYEtJIUQaa2bxSevgP3CzdhBxrwTJ9/9 Fjmw== X-Gm-Message-State: ALoCoQkbOTUy6e6VY6GXduuTGQzzGilXcOE/QeUp8mU7QXOG1P+Jkoo4ykc+vft02Z81beALWhaC X-Received: by 10.60.60.131 with SMTP id h3mr7791228oer.73.1433609685232; Sat, 06 Jun 2015 09:54:45 -0700 (PDT) From: Bart Schaefer Message-Id: <150606095442.ZM12681@torch.brasslantern.com> Date: Sat, 6 Jun 2015 09:54:42 -0700 In-Reply-To: <87a8weczj4.fsf@gmail.com> Comments: In reply to Christian Neukirchen "Re: Finding the first history event of the current instance" (Jun 5, 10:47am) References: <87r3q7nzkr.fsf@gmail.com> <150529171657.ZM15077__24226.5334389687$1432945137$gmane$org@torch.brasslantern.com> <87a8weczj4.fsf@gmail.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Finding the first history event of the current instance MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 5, 10:47am, Christian Neukirchen wrote: } } I'd have expected it to print nothing, because the local shell history } is empty? The documentation was updated after the 5.0.8 release to clarify this: -L restricts to only local events (not from other shells, see SHARE_HISTORY in *Note Description of Options:: - note that $HISTFILE is considered local when read at startup) At the same time, this was added: -I restricts to only internal events (not from $HISTFILE) You want the latter, but unfortunately 5.0.8 doesn't have it.