Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Issue with history
- X-seq: zsh-workers 30332
- From: François <aifsair@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Issue with history
- Date: Fri, 9 Mar 2012 00:05:28 +0100
- Cc: zsh-workers@xxxxxxx, aifsair+zsh@xxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=gF6TSTfCaMEVa03+NxT+xH9LnqLXgOJRTiWS3a4C46g=; b=Q8FXVrxTQTSPhMhWYhJlK1t52iFOisHeVBj8gmPNP9Zauu3S96ve5FL+moHtzylsfl 2gvaiyHG8tSSWctdfwrxh7nIjtgDgNkOExWqKsLI2DIgP5YCZ+NitcQI8JHxeeCTDuec sMBWaSHT2/xbyLX34laYlxGBGclIW2OcQar15sDkgyMlZpDA/QEjD8xS4hUYhLWTN+Ix bFU4ZVZFhgvcXPpmM1KcluZNtUHyfJIhY6S5dVPrHHQ0BlXxljvr6R6/GxJRuGcRLsv1 9GvO9djNsFCJnyE6pHTG1cBfhcCMB1WW7D15RqpUG6zwcu/SldWqQUeAKV9I5fEx63RG C+tg==
- In-reply-to: <120308102812.ZM14534@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <160F1AB7-045E-4DF7-81FE-75D9BAC85523@gmail.com> <120308102812.ZM14534@torch.brasslantern.com>
Thanks for your answer.
FYI:
$ type history
history is a shell builtin
What further information can I provide you?
--
François
Le 8 mars 2012 à 19:28, Bart Schaefer a écrit :
> On Mar 8, 5:41pm, François wrote:
> }
> } I couldn't retrieve all the entries from my history file.
> }
> } $ history # would only produce something like 30 entries
>
> The doc:
>
> 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
> specified, it will be set to FIRST, or to -1 if the -l flag is
> given.
>
> So by default "history" lists only 16 lines of commands. If you get more
> than 16, you must already have an alias or function named "history" that
> is passing some other values. Given that you have an alias/function, it
> isn't possible to determine what "history 1" means for you.
>
> --
> Barton E. Schaefer
Messages sorted by:
Reverse Date,
Date,
Thread,
Author