From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5109 invoked by alias); 20 Apr 2013 22:37:12 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31302 Received: (qmail 19933 invoked from network); 20 Apr 2013 22:37:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Sun, 21 Apr 2013 00:37:03 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: History saving doesn't work with "zsh -f" Message-ID: <20130420223703.GF9553@xvii.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20130419105900.GB9553@xvii.vinc17.org> <20130420081454.GC9553@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6304-vl-r59709 (2013-04-11) On 2013-04-20 14:29:03 +0200, Mikael Magnusson wrote: > On 20/04/2013, Vincent Lefevre 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 - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)