From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27423 invoked by alias); 5 Jan 2018 22:32:27 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23046 Received: (qmail 9694 invoked by uid 1010); 5 Jan 2018 22:32:27 -0000 X-Qmail-Scanner-Diagnostics: from mail-qk0-f170.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.220.170):SA:0(-1.9/5.0):. Processed in 4.261901 secs); 05 Jan 2018 22:32:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=RVBctmZf6N/Sk58lJKVCXcPaUy2YZctVcF3qkP2qmvM=; b=NDgwD2bp1nf79i+4uRE9kAi9XQvNj2DWFuV/gH5+4WuIH57mWFBqX0qPyxiPxQLwWE rHxHBFvL0EwougOTl0NlQGYA+eSCIpFRtmmgaUFxYZb92+t5cdfdjYBgVONvNG7N7P2K a46BHXIPr5324pGRJrXn0SlipBUCG0v+6dP3j5I8TFnmJUMLpcWGw9fvAR0GhN5b9JXz 0rcG736UC7GU1F+ThYCzLa7ekhDcwImANfFzdwQgCo5mBiDKpHNVEHI5yC5579hiJUmc MUr3ydWENPUBmYI/TsInH1W4IwOOfSTHftE4ZctuxJva6AUctg6PdmQpyotlsBsc9XYr WWyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=RVBctmZf6N/Sk58lJKVCXcPaUy2YZctVcF3qkP2qmvM=; b=eAogJIXo3vuhHYv0eLZlfl+8aRTGL4IjdBRRZUYvw5o8jOwe1i/OWOD8AOyUohcqKw XjfVMgKI3H1PDeyT1ZxAlOD6RdrIweFlNfioNo0edOr1xRir/eX9EemqZe8881VmtHJm GmcWam+IqOcB6aPNfc4YLb+DgCtcAGlnfQq6G3mFY2Wvwiq7LHJwI8Lr3/yHyhw44dgI cOJ/FY2fpA0NGkxxDJVwh8tjSOD/blG03g2IxYpTqZs9uOVjWHMOWpS1msS2obTopdtn mb9uFxbCxe5y3+I3gEkTU6CLz/vOZlFO51mkdGXSs4WnidszwxQQfhCQV/8MbTcUST7I /utA== X-Gm-Message-State: AKGB3mKGdhfNPgnGUNEcz/RgMbCoRLdF8pNr5vZOyl8m5FD9uZONzl3b uR5M8YZuHpHoiCmNU1JAd+BI2AKeKk46xDktKg0lJA== X-Google-Smtp-Source: ACJfBot/myZPZUnL8fOvwYCKIxriOua6A6DyTuGQTP2FQOLbDGHrfY/o3qIu/BYl4oy5mq9NlaHLm7NSN9OjEM6/Zlc= X-Received: by 10.55.183.65 with SMTP id h62mr6299615qkf.125.1515191539789; Fri, 05 Jan 2018 14:32:19 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Bart Schaefer Date: Fri, 5 Jan 2018 14:32:19 -0800 Message-ID: Subject: Re: zsh_history not showing all the entries but some To: =?UTF-8?B?c2hpcmlzaCDgpLbgpL/gpLDgpYDgpLc=?= Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jan 5, 2018 at 2:07 PM, shirish =E0=A4=B6=E0=A4=BF=E0=A4=B0=E0=A5= =80=E0=A4=B7 wrote: > > I don't know why but .zsh_history only shows a few entries and not all. > > shirish@debian ~ % history history Same as fc -l. fc -l [ -nrdfEiD ] [ -t timefmt ] [ -m match ] [ old=3Dnew ... ] [ first [ last ] ] If first is not specified, it will be set to -1 (the most rec= ent event), or to -16 if the -l flag is given. If last is not sp= ec- ified, it will be set to first, or to -1 if the -l flag= is given. So you should be seeing the 16 most recent entries, minus any that are duplicates (because you have histignorealldups set). Note that first and last are relative to the pre-assigned history event numbers, not applied to a count of entries.