From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4820 invoked from network); 31 Aug 2022 11:49:03 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 31 Aug 2022 11:49:03 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1661946543; b=hGLFuZ7mplV3E4dvxY0dM+HqPF1490NKTS3UYULE+lvED1NjFw/h7NONsC6/GP0z4NkNXLckNd JQAJKymUX4cIYp0BDdWc6ins9qdJzQRdcLl8Nxt8KkEiU+NBzHtxQIgFavDLmqoVTkLKnjX6SV YCwhCvNX0L1BXtb+RBtYOwzuFgPOUW+ol9TXO1neBh4oawSL0rTdZPwZF9DN5GraItaNEyCwDj 0lHouhDYKRdiY/gAI77rbxUSz5wolv7axWHJKE0RsgG0vOxjj8M8tQOs5FOtZWaxs3tTsbuOtj H6o9MSSI9eTvWZfpttslyBTuywWxYo8H2AJcsfDh9SkAcg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1661946543; bh=IMQuh2iPxiYd8Z1N2oldkIcLVJvO4aBo+XTW9SXX9HA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature; b=IgzhIvrVRMVidYxb2kVl3rZAlt0aTUkMCgaKCXe+uRFYIIKXRRLKWUj+LZH+51TyBY8h/aW7Af UiKbLMPKAhtbx2a5JU8p/J6n3ZIf/9FqscqqAQ/shuEDspu/dfOWoAMVCeN0bUU1EVG547f4dV s1TkVcoC6ixBHGF0XP4J3IxnvJlokV6wa92s8FsGzBAbC8YV6Cz46JEn9lNUqa2Pau1O1INA5l 5bLjY4yxkZuTgQzLPVaBWPyWrBO8ATtRUqkppPTiu7C7Ne9+gCFdQxeg/gujqVYwVDxeDVnbB/ FqC3H2RbyEe1GrQauqbG53G7N1mCivCz7RgaIzcVAkjciQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=AQOtZz1fIb7QVEbTJyd+ju0uJ1BiCvLx7XuVo4Ien7o=; b=GCa+utOJhwRB4wPrkU9t3f3VR9 NsePzPBwicEoB0hm/Q0tFNaTESnaHGgXOijdMHhgowynt+Q1ip707+vA4lckUImhz7WEwJTip+G5m +r2jvIS9gVH+i4PJikyuJGx0UxqAWdySI/59goLKBfOdBUpfA/lvC4xw/fhFeUlPrLNxKWZ3aOse7 eLdjCnZFvKlB0DcWAX6xr65Gu5umB/I8BcSf0NGQrvNUpiCWTS5ZraBp5I3PSvCqsAnVTj7mFiJKJ h/3or2ng8dokUY3ydlk7XqmSjh0lnjoJ1WXeoEw8zPmq1hJuEasdQF54BuwZk1aNXE6pA34lhlhRs 27oVeiwg==; Received: from authenticated user by zero.zsh.org with local id 1oTMDO-0007EZ-Rg; Wed, 31 Aug 2022 11:49:02 +0000 Authentication-Results: zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none Received: from joooj.vinc17.net ([155.133.131.76]:48674) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oTM8D-0006lJ-PM; Wed, 31 Aug 2022 11:43:42 +0000 Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id E75E72D4; Wed, 31 Aug 2022 13:43:40 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id C1ABF2800226; Wed, 31 Aug 2022 13:43:40 +0200 (CEST) Date: Wed, 31 Aug 2022 13:43:40 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: [RFC PATCH 3/3] FAQ: sync newuser-install Message-ID: <20220831114340.GB992100@zira.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20220824043145.165779-1-felipe.contreras@gmail.com> <20220824043145.165779-4-felipe.contreras@gmail.com> <7779ec6b-10d5-410a-97da-5ec545cd6e1c@www.fastmail.com> 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: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.2.7+32 (d84696f2) vl-149028 (2022-08-22) X-Seq: 50550 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On 2022-08-25 23:22:13 -0500, Felipe Contreras wrote: > This: > > sect(Why is my history not being saved?) > label(321) > > In zsh you need to specifically enable history: > verb( > setopt SAVE_HISTORY > ) > > Is simpler than this: > > sect(Why is my history not being saved?) > label(321) > > In zsh, you need to set three variables to make sure your history is > written out when the shell exits. For example, > verb( > HISTSIZE=200 > HISTFILE=~/.zsh_history > SAVEHIST=200 > ) > tt($HISTSIZE) tells the shell how many lines to keep internally, > tt($HISTFILE) tells it where to write the history, and tt($SAVEHIST), > the easiest one to forget, tells it how many to write out. The > simplest possibility is to set it to the same as tt($HISTSIZE) as > above. There are also various options affecting history; see the > manual. The ability to choose the history filename and size is more important than just having a single option for simplicity. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)