From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13346 invoked from network); 10 Nov 2003 16:21:58 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 10 Nov 2003 16:21:58 -0000 Received: (qmail 10014 invoked by alias); 10 Nov 2003 16:21:43 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6754 Received: (qmail 9954 invoked from network); 10 Nov 2003 16:21:43 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 10 Nov 2003 16:21:43 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [212.227.126.201] by sunsite.dk (MessageWall 1.0.8) with SMTP; 10 Nov 2003 16:21:42 -0000 Received: from [172.17.36.7] (helo=erdbeere.use.schlund.de) by mxintern.kundenserver.de with esmtp (Exim 3.35 #1) id 1AJEnN-0003Hm-00 for zsh-users@sunsite.dk; Mon, 10 Nov 2003 17:21:41 +0100 Received: from luthien by erdbeere.use.schlund.de with local id 1AJEnG-00040M-00 for ; Mon, 10 Nov 2003 17:21:34 +0100 Date: Mon, 10 Nov 2003 17:21:34 +0100 From: Dominik Vogt To: zsh-users@sunsite.dk Subject: Re: Help with history . . . Message-ID: <20031110162134.GC745@gmx.de> Reply-To: zsh-users@sunsite.dk Mail-Followup-To: zsh-users@sunsite.dk References: <402D1B57-133B-11D8-9CCD-000A95A06332@jhmi.edu> <20031110083850.GA29585@ppe.happygiraffe.net> <33F99356-1398-11D8-A7DD-000A95A06332@jhmi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33F99356-1398-11D8-A7DD-000A95A06332@jhmi.edu> User-Agent: Mutt/1.3.28i 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 - where 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 ^_^ ^_^