Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh_history not showing all the entries but some
- X-seq: zsh-users 23046
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: shirish शिरीष <shirishag75@xxxxxxxxx>
- Subject: Re: zsh_history not showing all the entries but some
- Date: Fri, 5 Jan 2018 14:32:19 -0800
- Cc: Zsh Users <zsh-users@xxxxxxx>
- 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==
- In-reply-to: <CADdDZR=pnm1M=Jm1pxsXMdz3+4_CSCyCaTTXjmwD4e0U+3CQSA@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CADdDZR=pnm1M=Jm1pxsXMdz3+4_CSCyCaTTXjmwD4e0U+3CQSA@mail.gmail.com>
On Fri, Jan 5, 2018 at 2:07 PM, shirish शिरीष <shirishag75@xxxxxxxxx> 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=new ... ] [ first [ last ] ]
If first is not specified, it will be set to -1 (the most recent
event), or to -16 if the -l flag is given. If last is not spec-
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author