zsh-workers
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: Derek Peschel <dpeschel@eskimo.com>
Cc: <zsh-workers@sunsite.dk>
Subject: Re: why is 2 the smallest HISTSIZE?
Date: Tue, 12 Feb 2002 11:30:27 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.33L2.0202121119440.10208-100000@phong.blorf.net> (raw)
In-Reply-To: <20020212045901.A10430@eskimo.eskimo.com>

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..


      parent reply	other threads:[~2002-02-12 19:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-12 12:59 Derek Peschel
2002-02-12 15:53 ` Bart Schaefer
2002-02-12 19:30 ` Wayne Davison [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=Pine.LNX.4.33L2.0202121119440.10208-100000@phong.blorf.net \
    --to=wayned@users.sourceforge.net \
    --cc=dpeschel@eskimo.com \
    --cc=zsh-workers@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).