zsh-workers
 help / color / mirror / code / Atom feed
From: François <aifsair@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org, aifsair+zsh@gmail.com
Subject: Re: Issue with history
Date: Fri, 9 Mar 2012 00:05:28 +0100	[thread overview]
Message-ID: <3EA90EE7-0E80-4F61-8349-CB5C914D432E@gmail.com> (raw)
In-Reply-To: <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


  reply	other threads:[~2012-03-08 23:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08 16:41 François
2012-03-08 18:28 ` Bart Schaefer
2012-03-08 23:05   ` François [this message]
2012-03-09  3:25     ` Bart Schaefer
2012-03-14  9:59       ` François
2012-03-15  0:58         ` Bart Schaefer
2012-03-15 10:13           ` François

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EA90EE7-0E80-4F61-8349-CB5C914D432E@gmail.com \
    --to=aifsair@gmail.com \
    --cc=aifsair+zsh@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).