Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Help with history . . .
- X-seq: zsh-users 6754
- From: Dominik Vogt <dominik.vogt@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Help with history . . .
- Date: Mon, 10 Nov 2003 17:21:34 +0100
- In-reply-to: <33F99356-1398-11D8-A7DD-000A95A06332@xxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <402D1B57-133B-11D8-9CCD-000A95A06332@xxxxxxxx> <20031110083850.GA29585@xxxxxxxxxxxxxxxxxxxx> <33F99356-1398-11D8-A7DD-000A95A06332@xxxxxxxx>
- Reply-to: zsh-users@xxxxxxxxxx
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 ^_^ ^_^
Messages sorted by:
Reverse Date,
Date,
Thread,
Author