zsh-users
 help / color / mirror / code / Atom feed
From: Dominik Vogt <dominik.vogt@gmx.de>
To: zsh-users@sunsite.dk
Subject: Re: Help with history . . .
Date: Mon, 10 Nov 2003 17:21:34 +0100	[thread overview]
Message-ID: <20031110162134.GC745@gmx.de> (raw)
In-Reply-To: <33F99356-1398-11D8-A7DD-000A95A06332@jhmi.edu>

On Mon, Nov 10, 2003 at 11:09:03AM -0500, Peter Chen wrote:
> I have my HISTSIZE set to 3000 already.  The problem is, when I type 
> "history", I can only see 16 entries despite the fact I have hundreds 
> of entries in my history file.  Is there a way to get the "history" 
> command to display all the entries in the history file like the command 
> does in bash?

  $ history -<n>

where <n> is the number of entries you want to see or

  $ history 1

for all entries.  See the documentation for the fc command in the
zshbuiltins man page for further details.
 
> On Nov 10, 2003, at 3:38 AM, Dominic Mitchell wrote:
> 
> >On Mon, Nov 10, 2003 at 12:03:40AM -0500, Peter Chen wrote:
> >>I use the Ctrl-R command to search through the history of commands.
> >>I've noticed that the history command in zsh by default only shows the
> >>last dozen or so entries in the history file.  When I use the Ctrl-R
> >>command, the command only searches through the same last dozen or so
> >>entries in the history file.  Is there a way to get Ctrl-R and the
> >>history command to show ALL the entries in the history file?
> >
> >Set the HISTSIZE parameter to a larger value than it's default (32).  I
> >have this in my .zshrc:
> >
> >    HISTSIZE=1024

Ciao

Dominik ^_^  ^_^


      parent reply	other threads:[~2003-11-10 16:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-10  5:03 Peter Chen
2003-11-10  8:38 ` Dominic Mitchell
2003-11-10 16:09   ` Peter Chen
2003-11-10 16:14     ` Peter Stephenson
2003-11-10 16:21     ` Dominik Vogt [this message]

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=20031110162134.GC745@gmx.de \
    --to=dominik.vogt@gmx.de \
    --cc=zsh-users@sunsite.dk \
    /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).