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 7567 invoked from network); 24 Aug 2022 20:03:38 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 24 Aug 2022 20:03:38 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1661371418; b=sUwzNIlEEl0/TYkMsvHlYl7byhmbn77K/dUQD4CWww8S1fKvNScS9nxNlKSj6nuJl55TYoPsQD ylV/m/5vVvk2G45LylRX7fNUSseFJ+B0iPGu6KW+gfVBXCL2aI7Qj7b2Tn/GlWzHBL5qf2l0zM l9o4MRktmaASTETB8cxnZ12hhtR893LLOMeNRiCDNeIn4umvF303gwqo2sz6BET8r08PLK+Raa cTPQDye5e7pxcmbEG38uiaLzjcgNK391hym9Q0Oz5OJmsn8nKnUnEvxewc5HlzneGNxo2eMhmL lGwoYadgI5LdCrtNrEHBaZzVSLj6cEYDqlYPGIPYUvq7Xw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f50.google.com) smtp.remote-ip=209.85.208.50; 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=1661371418; bh=KIMpB2mTVtTV3Vj11FI4+Lit1E840LOPVjuUwJ6/qVs=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=EAhRcmqcfWc9EbWZ7eJj5HrAFIl/eDZ4qS5TFCKNuxde8I43Kuup+sHyF01QUpkxLWrK3HNd35 +3LsT8WOdBY3Ft2/+DM56GvJoohlomMraraIps0BwJJhU/s8OF+WjddQqVTFe27fnjxm2ADsXj rcIVacxzRFV8h0NDRHmulaLczkU+xsf7m1+TZvk1Ex6DC4FZ59TQ0FNXUBk8JJrFa2dFvb+jw/ AmTftkoLTUVJUKAswxFjfbq3109rHcffNw4kuwvHzBv/u+Ji/omq4YKwcRWeDVAoD88PkndgSk LxM0FPKb/m9+j1HWR2Kvjx6nLoNOQlMBgu0J8zW51vcH+w==; 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:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=XHYlktGy7B6ITxGZ5gIR/gY0+1yH5pHRyegGKJTeLoM=; b=BG33zyPSL1dqFXRv7ZI61toW3E Z2pkt6TYWw/NMWG/yOJOYCCx+xDTRhMN8Mggy8lkI1IikN0fKQpEk8Z8k3gIQI1wyBHm50/kJbFe1 RqeHB8QPuDUADkJXAPRCbakjgShpnmseV9Paoy6xfR8snSZ4isAHk3BnOU3FIfq+kiPiytmaSS3CI UdFcoPLfmvng451jLEUEDoI0K6xWO1TtYIODqaqWfHqKzn2D1nC4uFWwRDt8HctOGUT2QknzWuzum ISWG1pmJKFpMqKHg35LX+eQAIbC4Wb6K+lXAAaHIiJkjtDLhytTFw2ig4/oE11G4uFYDEV6or4oLC 3rK8pDkA==; Received: from authenticated user by zero.zsh.org with local id 1oQwbB-000Gfv-L5; Wed, 24 Aug 2022 20:03:37 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f50.google.com) smtp.remote-ip=209.85.208.50; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ed1-f50.google.com ([209.85.208.50]:39669) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oQwax-000GJU-AF; Wed, 24 Aug 2022 20:03:23 +0000 Received: by mail-ed1-f50.google.com with SMTP id q2so21327757edb.6 for ; Wed, 24 Aug 2022 13:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=XHYlktGy7B6ITxGZ5gIR/gY0+1yH5pHRyegGKJTeLoM=; b=aWAd+rZpBWA5Ptvs6B2dP0my0OrrE5dtoyndnGe5YCO0D8ys/tW/dEDhApJICzdsS4 DXrLJgn8yoDok8J/s1Z+tfdFlhq2Y0/uV8RL6xQvy7sQgkDOhvtyOjbttXor8PvIY5ez A4PvI4vwNfWgGhRmkDaAO3I5iiCgdjSmDXG17mOYOeGj00fyENS8O2f4F9ZbqzYWYDRw wFgv+KVWcjlgZyOeutB1DvT06wz+oXURxyFutNH0ZBiRy/JYCL7imam3ak4mZC/Ye0QT FAmZbJzc0QZgBE8XFZ7MW5uRT8dNbt5bjQD7Lht6SHc8JWM3DMONsuiXEuEQVfZ0umvY yDFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=XHYlktGy7B6ITxGZ5gIR/gY0+1yH5pHRyegGKJTeLoM=; b=X6p5rXlTnC0ZH3bgyJ/hIfjYj05VguzXpPdqQla1OLCsR0qjmNmX3txWaQ4hZsirF9 pdvKBdqiGS3HrKh7lG4XlVKv137vkdCMCseF1XsxV3ryBZgMbguzuIkRsZ3rj0QTMy4R WX5FP9L921Woz74vE/ynAeffDlh4jJxbo9BamJdbuL7QzgH9B0gLdfbCih1+wqOR8WYu N4J6cz6IPug/n+X8dNebN8+oFRoGcZ2cr/jUsEX1KNYhsxXkkb/5M3J2dKmW25WIaws/ 686v1R3taqYArgLGU+KxVHSYVfGP6nFuo2tdQvjmuF/ysAsE8b8cJbsRuK/FrYW3WA+f HTCg== X-Gm-Message-State: ACgBeo0xXxClcn8fwr3tga0Vn84JH0URwWrxBQEj6J7qPRg3w60FBjrH 4IIKS/c91+RW7MCNJB5Hy0noWRyidvH2TA/bEqnGk012 X-Google-Smtp-Source: AA6agR6++LWqc1WumZp8fY73J2JToyWECOpGZvK7OIdBQt0CYFNQF7e0WcaxSKBg/BD/AAcF3QIvXePMmbP4V9Wv8jE= X-Received: by 2002:a05:6402:238b:b0:446:5861:5b4 with SMTP id j11-20020a056402238b00b00446586105b4mr504781eda.280.1661371402843; Wed, 24 Aug 2022 13:03:22 -0700 (PDT) MIME-Version: 1.0 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> <4bd03e2b-947d-4aea-dfec-f7a2f3e99aa8@gmx.com> In-Reply-To: <4bd03e2b-947d-4aea-dfec-f7a2f3e99aa8@gmx.com> From: Felipe Contreras Date: Wed, 24 Aug 2022 15:03:12 -0500 Message-ID: Subject: Re: [RFC PATCH 3/3] FAQ: sync newuser-install To: Eric Cook Cc: zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 50511 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 2:25 PM Eric Cook wrote: > On 8/24/22 15:11, Felipe Contreras wrote: > > On Wed, Aug 24, 2022 at 1:33 PM Eric Cook wrote: > >> Aside from the arbitrary bump in HISTSIZE, if HISTFILE is set by default and > >> zsh is invoked with -f which is common when debugging or testing you get the > >> expected defaults. But if the user typically increases SAVEHIST from said > >> default, because regardless of what you set it to, people will change it to > >> their preference, you create the same problem that other shells like bash have, > >> the truncation of HISTFILE to the default SAVEHIST upon the exit of that zsh -f session. > >> usually without the user noticing for a period of time. > > > > So because of this corner case that 99.99% of people are never going > > to hit we should bother 100% of users. It doesn't seem like an issue > > worthy of so much consideration. Moreover, it could be solved in other > > ways, like not setting HISTFILE when NO_RCS is on. > > Starting the shell without your dotfiles is commonly given advice when troubleshooting > weird behavior, found across this mailing list, places like stackexchange and irc, > It's not a corner case. Starting the shell without dotfiles does not produce the behavior you described, this isn't the corner-case. The corner-case you described is more specific. -- Felipe Contreras