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 12462 invoked from network); 2 Sep 2022 09:01:56 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Sep 2022 09:01:56 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1662109316; b=E8616vncmDSysE7DjRsV+86gngWyNkrT+sBD32p1234i0X1g+UNuVFflx+BDfpqAfWPYrEI0Vo vzHb6Mq0yvLopjxhEfT4OqsAis+j8wtceWEltnsBitcy7ksS9yjS8jdC0YsFJ9CFGmklWOY5bL aWcxWE/2Hj9b+Y4cKXvM+WXLDBX5jNhjWwiitxBOAs+dq1d1zEWFF19TaJ8Orj/uOHI0DJr2Fj IR7ndc35ICEiAygQnAWSYIbAgwvF0JSEYiHhoQqPhPiWWwWuOeERugkjsSsupBL95kmJ/WzKo4 bLqmywYNtB4DLe1JYNTgF0WdYqcFsXCNAY4Xc7pJTBpuQA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (wout4-smtp.messagingengine.com) smtp.remote-ip=64.147.123.20; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1662109316; bh=K9IBNRSvKaMtLi73S8woGWGJqT1zix/sMQYEpgJysR0=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:DKIM-Signature:DKIM-Signature:DKIM-Signature; b=r7NgBCEYQ7z3fIFhamxzoypXqCqkh7WZkB4n3zlNdVYL/fLvp36vJtsBurWLyxjV7Fhth6SVpB mn1WZ+h9tDrnHjWZXIz6KuKvagZAbA0bXlLFzOpeeFU0evmGgHXTlXGVq/0DOL5LjiXD65P1dC 4JEgiDy+7dyDkBJQvSN6S1Nqu9LuNExOt49WDdrxm80bAArRb/9VumVwqudje80g6c5joE/xvo OVWo5Dlu4Z7BO3cvq1cPX843B3pW9hUIui4j/Kxn55Ov7Fgnk2WTg2KkyWHjRTdrkw2XV8Al+h xLXc3BSa6ie32SFBoVW5EsMBQ36XK4bOsCLCwYmKQmK4XQ==; 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-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=z3UUsvG/M2KWBRTaCPKLul0OCpdGtR8sSB+h5gUJswo=; b=WRercmwECQC2VXQETtzmCtlg0t I+D8wDjPXeoetz3fFHPktCOkcZN6CrWl8L+oTq/BauBIg8kByu+tO/jWXMRp5XVgRR74muKEwWz4N FMUKu4XR1H37wHEQrmcT3xwLAkOp9ZLNF/PkYq2d32vIJz3jr00RoPUKlM8iciYDfX6tZAHX9b1sg ED5gdl6DWiYaJKx6x5F2ORDt1qx0uIXqZKIhDHs18+Brxw31GfXwGBYdi7bo/KjfuJSzVLWIzeu4j je/KCJNKJ8l3yFgWjFuEfMpMT2c11bg8khrmsvLJ+DVQym0PYZessmjanMF+GKk+KD0xjmB2E2uMs RR/GOULw==; Received: from authenticated user by zero.zsh.org with local id 1oU2Ym-000L1F-Az; Fri, 02 Sep 2022 09:01:56 +0000 Authentication-Results: zsh.org; iprev=pass (wout4-smtp.messagingengine.com) smtp.remote-ip=64.147.123.20; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:36917) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oU2YS-000KgD-FV; Fri, 02 Sep 2022 09:01:37 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 2D6DD320091C; Fri, 2 Sep 2022 05:01:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 02 Sep 2022 05:01:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1662109293; x= 1662195693; bh=z3UUsvG/M2KWBRTaCPKLul0OCpdGtR8sSB+h5gUJswo=; b=e X1+SvDGmph1BbWAKZVj+gQbMR1TlWEfQ/S0RZ6yrnNEGUGUiaEC0wjou0UpqEc1s jtqIZ3tHLHzZGbesK7pXFsPBiiChjiVokZ7xC6+6Noi5J358YxpMxf2rswjYqNX5 CiERsOyAM42JTyZj7C5LTA6eGC8mcgJJc/1P8AA3bgBs3uHCknJVUSWiFXzWqRE3 nVoNmo8Yq1PP4FMeGndQkAkLrBhkhrdjbiEp6m0h2NVHZfQg33e5zHWh2NmOva66 /8HCakBL2IlRYtaRSpCtpFzXD6wq8uqY6BtR/RZdtcI/jQOXDQQ+oCXgDDWqL61w via0Lx8pTajT2nxnDIq4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1662109293; x=1662195693; bh=z3UUsvG/M2KWBRTaCPKLul0OCpdG tR8sSB+h5gUJswo=; b=qIK7wjJ/jb54J/gNrjJcL12t2oN6Di9hBokhx/NUovZn YYNFrP7LsAaulhLK0zaR3UvqiPbxMnQfQJFPI1DSz6SHZQj0ycb2XnTojDr30Ioo IDfx7LP1eAtXSYbwX0TMEbt6Abwl55p1lIx+olUyxncFugzCvrE20WXvGIOmazTR feB2kx58wrvk3NyNk+mtlTSLHGOJAeWNP8SCmJQBiQG4htMR72CpXTvyubCZ0sNb nqLC0he1yGElngdaprhV066vVQmgZIOrHUFe/tfE5a61GoZ0soPPSH7MPNbwmkdH fTi6Uiwxu0knrk6TzspCftR1jvQuvzTmmDdHlbBs0Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeltddguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujggfsehttddttddtredvnecuhfhrohhmpeffrghn ihgvlhcuufhhrghhrghfuceougdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpeegffevgfdvffeffeeludfhjeehkedtjedvieeluedtkeef gefhleekkeejtdegteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvg X-ME-Proxy: Feedback-ID: i425e4195:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 2 Sep 2022 05:01:33 -0400 (EDT) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1000) id 4MJsND4X11z3Kk; Fri, 2 Sep 2022 09:01:32 +0000 (UTC) Date: Fri, 2 Sep 2022 09:01:32 +0000 From: Daniel Shahaf To: Felipe Contreras Cc: zsh-workers@zsh.org Subject: Re: [PATCH 2/2] Increase default HISTSIZE to 1000 Message-ID: <20220902090132.GG5920@tarpaulin.shahaf.local2> References: <20220831031854.27312-1-felipe.contreras@gmail.com> <20220831031854.27312-3-felipe.contreras@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220831031854.27312-3-felipe.contreras@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 50571 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: Felipe Contreras wrote on Tue, Aug 30, 2022 at 22:18:54 -0500: > If the default is sensible it's not necessary for the user to change it. > > Signed-off-by: Felipe Contreras > --- > Etc/FAQ.yo | 13 +++++-------- > Functions/Newuser/zsh-newuser-install | 1 - > StartupFiles/zshrc | 2 +- > configure.ac | 2 +- > 4 files changed, 7 insertions(+), 11 deletions(-) > > diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo > index dd573767e..4c058c363 100644 > --- a/Etc/FAQ.yo > +++ b/Etc/FAQ.yo > @@ -1626,19 +1626,16 @@ work?) > sect(Why is my history not being saved?) > label(321) > > - In zsh, you need to set three variables to make sure your history is > + In zsh, you need to set two variables to make sure your history is If 1/2 is accepted, this sentence will be true for zsh 5.10, but the FAQ is online and we may assume it's read by users of older releases as well, so it'd be advisable for the answer to continue to cover 5.9 and older. > written out when the shell exits. For example, > verb( > - HISTSIZE=200 > HISTFILE=~/.zsh_history > SAVEHIST=$HISTSIZE > ) > - 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. > + tt($HISTFILE) tells the shell where to write the history, and tt($SAVEHIST) > + tells it how many lines 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.