zsh-workers
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.net>
To: zsh-workers@zsh.org
Subject: Re: History saving doesn't work with "zsh -f"
Date: Sun, 21 Apr 2013 00:37:03 +0200	[thread overview]
Message-ID: <20130420223703.GF9553@xvii.vinc17.org> (raw)
In-Reply-To: <CAHYJk3T=gDkWhd1uViYtySbDtz4AWHaE0bJtszCqRZy2PPBzZA@mail.gmail.com>

On 2013-04-20 14:29:03 +0200, Mikael Magnusson wrote:
> On 20/04/2013, Vincent Lefevre <vincent@vinc17.net> wrote:
> > The man page says:
> >
> >    HISTFILE
> >       The file to save the history in when an interactive shell exits.
> >       If unset, the history is not saved.
> >
> > Nothing about -f.
> 
> I was a bit tired when i sent that reply, guess i could have been a
> tad more informative :).
> 
>    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.
> ...
>     -f     NO_RCS
> 
> The entry in zshoptions for RCS should probably mention this as well.

Thanks. I sugggest that the man pages be changed to be more informative:

   HISTFILE
      The file to save the history in when an interactive shell exits
      (unless the RCS option is unset, as with the `-f' option).  If
      HISTFILE is unset, the history is not saved.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


      reply	other threads:[~2013-04-20 22:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19 10:59 Vincent Lefevre
2013-04-19 15:54 ` Mikael Magnusson
2013-04-20  8:14   ` Vincent Lefevre
2013-04-20 12:29     ` Mikael Magnusson
2013-04-20 22:37       ` Vincent Lefevre [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=20130420223703.GF9553@xvii.vinc17.org \
    --to=vincent@vinc17.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).