From: "Benjamin R. Haskell" <zsh@benizi.com>
To: Greg Klanderman <gak@klanderman.net>
Cc: Zsh list <zsh-workers@zsh.org>
Subject: Re: reading/saving history file dependent on isset(RCS)
Date: Wed, 19 Oct 2011 14:48:27 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.01.1110191444090.23569@hp.internal> (raw)
In-Reply-To: <20127.6190.501587.50858@gargle.gargle.HOWL>
On Wed, 19 Oct 2011, Greg Klanderman wrote:
>
> Hi, can someone explain the thinking behind reading and saving of the
> history file being dependent on isset(RCS)? The code predates CVS..
> Seems like if you've set HISTFILE/SAVEHIST, it should honor that.
>
> I did find this partially documented, in section "5.1 Startup/Shutdown Files":
>
> | Note also that the RCS option affects the saving of history files,
> | i.e. if RCS is unset when the shell exits, no history file will be
> | saved.
>
> but it does not document that reading the history file is similarly
> conditioned on that option.
This bit me last time I was trying to debug someone's history-related
issues. I found that passage, too, (eventually), which is why I didn't
complain then. I don't understand the rationale for the conditioning.
I'd be interested in seeing this changed if there's not a good reason
for its being conditioned by default.
--
Best,
Ben
next prev parent reply other threads:[~2011-10-19 18:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-19 18:34 Greg Klanderman
2011-10-19 18:48 ` Benjamin R. Haskell [this message]
2011-10-20 7:10 ` Bart Schaefer
2011-10-20 16:55 ` Greg Klanderman
2011-10-21 12:40 ` Bart Schaefer
2011-10-21 15:26 ` Greg Klanderman
2011-10-24 17:08 ` Bart Schaefer
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=alpine.LNX.2.01.1110191444090.23569@hp.internal \
--to=zsh@benizi.com \
--cc=gak@klanderman.net \
--cc=zsh-workers@zsh.org \
/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).