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 28749 invoked from network); 25 Aug 2022 08:11:01 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 25 Aug 2022 08:11:01 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1661415061; b=PBBEp2BeMGkFbTVZ6560TGS+DNG7gymXkdjUvdT5m9cl9kzKXAmktm9dsIg5QR7EFZiQW4HneZ v7tdkV8H6+EWl819a848RRuhNnf29RCi+6P7QgMKm3Cm/mbEuiobOr7o6jCTZyCsgZ/MuxZUgF Wkm2+5mBxHYBNIj4tE0XdiAPWJzpT/QY4WWuD7zZG8dd8OAdGcaRkxnaQo5gyvrMAz2aqCh4x4 H21YDb1mlG4C8Y/9K+fos9GS+tXnqn5cNJ+M/kZlR4cTNGOjYRICB1VIA1tTGwT678RMa5PzOT QhV0qXJ1IQelpKuCkezC7NAavj31lx5qmslVSRNW3F6hbA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (wout3-smtp.messagingengine.com) smtp.remote-ip=64.147.123.19; 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=1661415061; bh=JLYbqrTwQHfllKdb/yT25NqjS/si8TZlWbgvBGpNZrY=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Subject:To:From:Date:References:In-Reply-To: Message-ID:MIME-Version:DKIM-Signature:DKIM-Signature:DKIM-Signature; b=FmQ6ELOvSgI5Mpdm4PimxbgVvlIAAPDJJVWWoI6Fj/+IoUmUotj+CXnvvVtotL3Jfklz40xAXB 4T8Eq4K4WCHVMEr6VMciSmWgurbH9wjvnf50C6/rH+dRaXqR29+qEq/fwslXp4zZPjmw0MMuDk BaXmRytkTci+p6D6+vKL7YjvzXkWcTRtaejldKBU6txcfuPWI3b2nOU0KMMGo10O4JasgfeaFf kzmYVQVdQdIjAXuznU4UvvXrK2cwBHmRQ78JYkrwNwFhWaMARBxCOw1OQnH1RHeD9nfS5cW+Mi Gs0cb+06myB9vSKQ4eMbqBJDQJKDQSmjUWkNrL69YNANFw==; 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:Content-Type:Subject:To:From:Date: References:In-Reply-To:Message-Id:Mime-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=xrapEZqvutgvBhFuYIJnnSbpLOlrPk+rs3jaqBgFWK0=; b=BLMif1wq3V1I4zoKmHdh/DPjYA Mp1EtZMib0V5hIkDqMSwXCPhXoVoC+XpXxQHX9LCs8gVZ/AIVGEHlnbRiVUkny0BvFoNvj/vxpzfW Uzq5Prl6G88c9IA4FoeZ88ltqdx39Un6xFHIf2JZMMlyV/zGi8PCJeJFNDNPZw5yqCESrYSjWxenL 52DBtGvxd+xP9MyLpVrZzOdQ435ipOSQ4SYoLSqOX0aSzTqM1tolWa+Gl2kzAtGmrNYbXEi7HYOY0 LX5pv8tBP8VWI1AypCPvmXG+FozFt7PJZJMnYzaMa2lQPtiJQeOjWE5UwoXzASNPXorggcdqMzvlP SHRyuYcg==; Received: from authenticated user by zero.zsh.org with local id 1oR7x4-000EOd-Sd; Thu, 25 Aug 2022 08:10:58 +0000 Authentication-Results: zsh.org; iprev=pass (wout3-smtp.messagingengine.com) smtp.remote-ip=64.147.123.19; 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 wout3-smtp.messagingengine.com ([64.147.123.19]:39039) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oR7ru-000DwV-AN; Thu, 25 Aug 2022 08:05:39 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 759543200992 for ; Thu, 25 Aug 2022 04:05:35 -0400 (EDT) Received: from imap46 ([10.202.2.96]) by compute2.internal (MEProxy); Thu, 25 Aug 2022 04:05:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=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=1661414734; x= 1661501134; bh=xrapEZqvutgvBhFuYIJnnSbpLOlrPk+rs3jaqBgFWK0=; b=K YxkHezRkug8BfCIvWW0zYCArm0JYV40OXtmiXR4b9nhyiHSE9bqD/gkHDIF6KTwN qVzp7CqGyD6wjR31cpsBn0AawvPdLtPBEfevcBtCvlb5VID5d3shvUR9AToylW/t wPs4lH+H7MzZVfGreX2y6JcpZUSutAQEwDT+kkxeG6xwujf0nZkyhR3XkYIfABv7 X98M/6Hh6PaqPsoN7VSm+7fHopPp3D/u/gqHxB68A2DEfrTc5nOaRSv1qapY+4qj xK14gDrVjfnmQpdbb5XcH2xeMJ86hFvkKQWecuuotsXsCXgzWrTFupj/doyHKjwz 89Hy1WgM4Jul15mqG5TgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=1661414734; x=1661501134; bh=xrapEZqvutgvBhFuYIJnnSbpLOlr Pk+rs3jaqBgFWK0=; b=PnOW6tJwNldZSnhrReNV9OWQoWaAw7UvdadT5SvxTQF3 8WRL/1zTHgmPXW0XBVMg2xuhZZYo/JUE3QhrcaI4qyNe4OWNne2/Tn7kMOphb1NM uYGpnibRDMLYd9g3pXJcvoR1VDUCln0NsmdlxUZjINMoeh/dT+A7oHbOxgbrW48L mZbSElhcSjwS/slJTnnV7leq4vLC4jGHD1V1xGb/xxvzlFZppacyGJRGCZlViasV U5pNpkAmTplIPNXi0iOXnXV4xUgDsuXKUAs+xKHAE+Tq5UQBPusxpYCg6/ir1wMv 2SjNpoTs+Wzv1LIfIrsgFGWAE+zYEcd88tIsvmlTSg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejvddguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesth dtredtreertdenucfhrhhomhepfdffrghnihgvlhcuufhhrghhrghffdcuoegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhepjeeuveehue ekjedtffegveelhfethefhlefhfffgudeuhfdtvdehhfejkeeghedtnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrd hshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Feedback-ID: i425e4195:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id AFE712A20075; Thu, 25 Aug 2022 04:05:34 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20220824043145.165779-1-felipe.contreras@gmail.com> <20220824043145.165779-4-felipe.contreras@gmail.com> <7779ec6b-10d5-410a-97da-5ec545cd6e1c@www.fastmail.com> Date: Thu, 25 Aug 2022 08:04:40 +0000 From: "Daniel Shahaf" To: zsh-workers@zsh.org Subject: Re: [RFC PATCH 3/3] FAQ: sync newuser-install Content-Type: text/plain X-Seq: 50521 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 Wed, 24 Aug 2022 17:32 +00:00: > On Wed, Aug 24, 2022 at 4:12 AM Daniel Shahaf wrote: > > > > Felipe Contreras wrote on Wed, 24 Aug 2022 04:31 +00:00: > > > Better to use the same HISTFILE in both. > > > > Agreed, but... > > > > > +++ b/Etc/FAQ.yo > > > @@ -1629,7 +1629,7 @@ label(321) > > > In zsh, you need to set the location where you want the history to be written > > > with tt($HISTFILE). For example, > > > verb( > > > - HISTFILE=~/.zsh_history > > > + HISTFILE=~/.histfile > > > > The default name should include "zsh" somewhere for coexistence with > > other programs. So, I'd rather keep the FAQ as-is. > > I agree having a '.zsh_' prefix is more consistent with other > programs, but then that's what should be in the newuser-install > script, no? > > I actually think this should be the default, no need for *everyone* to > specify this. Setting HISTFILE does /two/ things: 1. Enable saving history to disk 2. Specify the name of the file history would be stored in Would it be easier to consense here if we could separate these two functions? E.g., if history saving remained off by default but we had a way for a user to say "Please save history and use the default filename for that"? Cheers, Daniel