From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13138 invoked by alias); 20 Apr 2013 12:29:10 -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: 31285 Received: (qmail 23437 invoked from network); 20 Apr 2013 12:29:09 -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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.210.172 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=nOoKFuTeC7k2L5VC0LZO0+pODaScVLIHOOY9giKgSmI=; b=p5RKDOJetounMWEYj1xiWu4WKI9eTr7G3QhqHzag+/EkqFG6BNycMh/TYZE3dGIeSv pPZHz+1iydrVmmVJvpCN9Eu/dJTjmx4objyq0gR7m/KW3gI7AsyDz5Y3gI1GYZyQ7of9 4YRwnMDfoe66zKbmIPz5OpZAUYcxkvLktkugpFWLM7/rrA6nXjkJgPztGJkHXz3VDpbf AjCOJLeKYFYvs+HuDZ0ZIfDffapuOuREFutOR67sZacNj53nx1ttoAGrhw3x7erEHjCW KiCStOycH2NE0ydYhNvPgw4WgzlBow3roV5yUV0gp4w74tyLJBKj+BGac7e2krxSyc1G q8Ag== MIME-Version: 1.0 X-Received: by 10.50.213.41 with SMTP id np9mr4080492igc.79.1366460943218; Sat, 20 Apr 2013 05:29:03 -0700 (PDT) In-Reply-To: <20130420081454.GC9553@xvii.vinc17.org> References: <20130419105900.GB9553@xvii.vinc17.org> <20130420081454.GC9553@xvii.vinc17.org> Date: Sat, 20 Apr 2013 14:29:03 +0200 Message-ID: Subject: Re: History saving doesn't work with "zsh -f" From: Mikael Magnusson To: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 On 20/04/2013, Vincent Lefevre wrote: > On 2013-04-19 17:54:31 +0200, Mikael Magnusson wrote: >> This is documented. > > Where??? > > 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. -- Mikael Magnusson