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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,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 2952 invoked from network); 24 Aug 2022 19:25:13 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 24 Aug 2022 19:25:13 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1661369113; b=o2cccHHVAac/vLXdPBBu7PObinjKAxWoJK+9fatSqrKdqkz0SH8MBzEzAMEpp83IgKNKFiO4BV edSYaNnoSA0ylvunUZbVtvJw2h+gMryHwWhW7Bk+q51qHcCiwcuOHNOEJXZsKoH+ykaN0UjE01 DSGy8ILFmwY5AuEAMj1GrzUrkFFVfleIFkaAvQFuJ7WTyqCFwyHoJ+ubyuFKvpQSCBXhEiVUUV OkiKawqptEUsBDUtBsdQnXdMrKOc3iupljdogruyjYNmghMs4xs3ddgBOgCMWqLqfXsDZAvbkl lhbP+wGX7MXjcqfnLMnX8RlMzwAtj+B3mRUnhAaaTd7xRQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f172.google.com) smtp.remote-ip=209.85.167.172; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1661369113; bh=851Yj2Zf9VcFz++Q342IOPNGsYDybrI0JRCwBT1A8IQ=; 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:To:From:Date:DKIM-Signature:DKIM-Signature; b=YXmkttwwgWnzJtxV9HfS7qTQit36ezedxMoZAKWr+0q1Up6jND+XqZZiUwndR1KuxZp4f9Nzlr 4kAW0oRrPeWzjkv9+6bQ4w564TXxnx86MwkTBPG56QXk4Mv2Q1pb4JUEDtb5O+1meXbu7VUY+u H/wxSD0JB35O6mPPZzVpufcW5OI9XgvPzdoLdDdu92pkgAV+YQQStqmPMImBJm4k7j48fDwx+q BCP2DbITm5+34hH2Xp9379xd1WCbbAMOXRg7basakWd3eT0r/KHCQk4YU7OU3x+dKBZxfbWYhT 8jHng2VrLGr70GDRqqeCibgOQbr0KZcnD7fLASfxZhg6Tw==; 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:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=Aiv5EZ1qRxNXbcUXNv6PnBPiRAd08LxGMbH9L4Nf49s=; b=XUA4q+XXXwEMxaTv6LjTklRGJF oBr/UJlR/TB0Y+gf8CCcisCEWNg99qycLTPpDaAYh2HTViVINJsM3aKUDMSNWGp94B9Pbo7OXoA4y VaF/DBl5RAOAqpFGHXI12EhVQUlv30BuLgeEZFM45yub0S7O1ozI85DXja0sC21zjLWjRRUSYETE0 xCyBBmYWqp2bg7zpSeIpBkZQfTAc7m6CpoWAINpLIjK11r9Z5BqlxT7uxQQYhCbNNhefCugmPln5z 62NVcP6QS9BvjrIw04GEWPXsfu9/3cpIMxnYHXUCnE/PhJewYbyR/KjW36wyB/uf/0cQ7G7Km6Imd W/ejBlWA==; Received: from authenticated user by zero.zsh.org with local id 1oQw01-000DyT-QZ; Wed, 24 Aug 2022 19:25:13 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f172.google.com) smtp.remote-ip=209.85.167.172; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-oi1-f172.google.com ([209.85.167.172]:34395) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oQvzl-000DcX-8M; Wed, 24 Aug 2022 19:24:57 +0000 Received: by mail-oi1-f172.google.com with SMTP id r10so14728344oie.1 for ; Wed, 24 Aug 2022 12:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc; bh=Aiv5EZ1qRxNXbcUXNv6PnBPiRAd08LxGMbH9L4Nf49s=; b=pJ2vJG+NKszUdD10xbfBVFCFQDvstGm5GzI4mQXyxXAz/xofw0NkiS6tuX4uSLszR3 2mruVy204zYBxeEZZc0S04+/iPd8GlVVh30fUF8you5enHwB81t1zyST8J/PGiM+/16N Gf5uYDsCr0KPGFlBH0YTUs6CBxQHvVOt3dwJeGMIv493QArc2XaT6/nvG98+b5Mq+rMZ 5kSAz2lgrYkhSSwkEIl5U0TRx56p7h9VBUahdig6aaTGaCJ9QVRPdJ2ReUqhtROku+Kf F1JCy1NMsnz4/7rQMSQckxSXSOwQPPPnwCQQpSnW+wA7deJcDz7E8e3DlMLMjl+82CYk dagA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc; bh=Aiv5EZ1qRxNXbcUXNv6PnBPiRAd08LxGMbH9L4Nf49s=; b=vc5IHue2BLTzdI2YNqaTa3OhzBzyJwjH77Qknt4SFmH0dPyML5zgC8/Sz/Kqv9GuGe qHhh9mbA9HqgJea8E/0DyKC8vg1hg9UXAKTexI2J89+r1RPCidtlzCKYvh82bR3pY+aE a1RCD3rdZA8dz1xpLWF4la/BQghgwh9nxcfCjzhiPIOF67oeNxekS7ZEPsVt0J2paqyB 3IUowueE7+uZh0hv4pdhoacVKecG5zhwKA8V/Mk4TtMlO9VuuAM2lTY572r55OUEbnhC +0nQUjLekAJrhCU7KfC5WUNEtAnkHgP4xzWw1HU1GOac5TFZDylXl/9AkVHFAO2/g3NR /KhA== X-Gm-Message-State: ACgBeo0Xw0Ut+2Bqopn4Rk/xNN5QSjlqXYeNuMKQ8SMj/58e5SOis8wZ jWZho1SbBSRr2sCyklAv40F5EKKZVW8= X-Google-Smtp-Source: AA6agR49m6o0ORZoLvvhKNGY1SXZ17RcE1y1szLQla3fsrESS6cl6unVmmD1Jr5SMAkQYs5xlUMkVA== X-Received: by 2002:a05:6808:643:b0:343:1207:b0b7 with SMTP id z3-20020a056808064300b003431207b0b7mr281256oih.97.1661369095171; Wed, 24 Aug 2022 12:24:55 -0700 (PDT) Received: from CptOrmolo.darkstar (cpe-76-184-110-212.tx.res.rr.com. [76.184.110.212]) by smtp.gmail.com with ESMTPSA id v23-20020a544497000000b0034480f7eec4sm4211901oiv.12.2022.08.24.12.24.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Aug 2022 12:24:54 -0700 (PDT) Date: Wed, 24 Aug 2022 14:24:50 -0500 From: Matthew Martin To: zsh-workers@zsh.org Subject: Re: [RFC PATCH 3/3] FAQ: sync newuser-install Message-ID: 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> <2f703212-b093-c7ed-7295-14dd39b75c96@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Seq: 50508 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 Wed, Aug 24, 2022 at 02:11:20PM -0500, Felipe Contreras wrote: > On Wed, Aug 24, 2022 at 1:33 PM Eric Cook wrote: > > > > On 8/24/22 13:32, Felipe Contreras wrote: > > > 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. > > > > Yes *everyone* should specify it. > > Why? > > All programs dump their history by default. Node, python, ruby, less, > mariadb, and of course bash and ksh. Those are the ones that I can > easily find. However by default zsh does not and changing that now is backwards incompatible with users who do not set HISTFILE. (Aside: OpenBSD's ksh does not save history by default.)