Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Help with history . . .



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

-Dom



Messages sorted by: Reverse Date, Date, Thread, Author