Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: why is 2 the smallest HISTSIZE?
- X-seq: zsh-workers 16616
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Derek Peschel <dpeschel@xxxxxxxxxx>
- Subject: Re: why is 2 the smallest HISTSIZE?
- Date: Tue, 12 Feb 2002 11:30:27 -0800 (PST)
- Cc: <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20020212045901.A10430@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
On Tue, 12 Feb 2002, Derek Peschel wrote:
> Setting HISTSIZE to zero would disable the history list -- are there
> any other ways of disabling it?
One (drastic) way to disable it is to "unsetopt zle". Of course, it
disables all the fancy command-line editing as well.
> but the code prevents HISTSIZE from actually becoming zero. I guess
> that prevention is what creates the illusion of a "last comamnd"
> buffer (Is there a separate buffer, not maintained by the history
> mechanism?).
Right (there's no separate buffer).
> Did the implementation (of the "last command" buffer) change, but the
> 2 not get changed to 1?
Yeah, looks like I overlooked this "2" value. I'll fix this.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author