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 24946 invoked from network); 3 Sep 2022 19:33:21 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 3 Sep 2022 19:33:21 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1662233601; b=n9DgRrcUXi2tjvUHdrTRu6ONOXocj16p6MIF5RFeYZIGJuT2odFYsBgYoGOE0APDaXd7APDRyG lqauvXa8k7UqRtmCbOZFmBDlKge6VvHcurwrG6+HXE5kJzzVsCpmJmv5eYzMULnWgDdghehs2S DQgQEk17GHCH9+YXgTSjScVCX7ey7QDiP7e+OAN6jg9zCWg0qh6nNeK7FKGGyeOD1rx76yV+4T DgIvymnmZvbLXlFs5H0GnnE1V/2ryDoWTC65L9mzh32o/C0VKr/iS33DCGWsd3sT/zqk4ud+oS +dA4L7ZBNXUVZxZcoMGrEDGjMxj9r7YCbkUbRyJ70u9uig==; 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=1662233601; bh=Z1PwTwzpwF9Q4wo+F91Vr8x57YMBt9Hj8weNHWztMdU=; 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=lMEPLfh39uQh/QxRs1qDiSuUBQcveF78GNmD/q6OS6MLhHv9fe6LQLTUKOZ3mr0rh2suuE0tbr DxwuRPXFTQ4hdrN8CfA3EuQ6HLkSBCsKjo0O6P6DkP9LSOQS/TiXTc3pNBKqucPew02ZlZGWTl +Bu5p9N57O/F9bAII5GofOSpKGEhjXIcym7wb8iEGKpURQSl5+RgxPQ6D8ipU5ofhzQUkLfpl6 KEk96SY60RpsLjrzcVFdIV/7/vy5MWf5RKAhb3C8TA1XrDiap4JUkSneHgwM1x5A8Rs5ZBn4Cu 3gVqTFZP9G1tH+7HhG8TiymFUzjvoC0E03L7q4ifZLH7rQ==; 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=u6qr59KiqhtE98slM1qdC2vf0/y6p4YUEHd/Zpzgw1c=; b=nBeYMHauZiI8bhGxLZDCpFTe5P r1BqRHfcgSCFTiBy81HtZ7YuTq+ATQ4IEUTJmnNLBf3OuKD40DcTlEyChoMv73C2vcA91dItXebJS UAjFoSUOD2SJwOh7DN0J6/18YJ939ZeLAlHujQxFD1r0hPFQt8qHPpZMpwOYE/CAwbCgaLbOqE8sD gXCnqIHq1xv94KnxN33v/DGn4dEtBc2a7yEaNCCmmJKxzUoks/3DvELB54G6DGpRxNCpwIcE7OWd7 0tHlQ89BSVXnobhT6JXSmBCbTW4szAT2DBJwViMY0h8YjPJykzKJpV4vgi9IT9rHPhHZkXVRwWIQL hhtGQLtA==; Received: from authenticated user by zero.zsh.org with local id 1oUYtN-000HZh-EE; Sat, 03 Sep 2022 19:33:21 +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]:40506) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oUYo3-000H6K-IS; Sat, 03 Sep 2022 19:27:52 +0000 Received: by mail-ed1-f50.google.com with SMTP id m1so6717337edb.7; Sat, 03 Sep 2022 12:27:51 -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:subject:date; bh=u6qr59KiqhtE98slM1qdC2vf0/y6p4YUEHd/Zpzgw1c=; b=S7kcRhZ9vfmomwNCjaXTc0MhqiSp82+A8lHA8spZzffXyMsT7mzscWFPAOVqhtlCqD 5GD0mx7HN0mXhdpFecntpAzEYHzki7SESGflRlsKd6D95R639kkong32zEvliB8uMzvl hLaLtqng+loJsEhFmuRm1QAKahmd+DIsKn2rhbi24GmLrQ6yloPjrJU4xrGaFtQW0NQm luyYR4xa7g72jsuxszla+El/vxqDal/E5yDg24eP4yjvkvpHKhnXrk4f+HjFpwIdi5cK ytMifaTb63iKEVURA431y2Q6UlZP5/zY1V6tLc5Rc8saPU5xn2g1hl2fvaPq1zvsga7X g9Vg== 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:subject:date; bh=u6qr59KiqhtE98slM1qdC2vf0/y6p4YUEHd/Zpzgw1c=; b=MU6579MCSLlfqqkK5cBpNO4HdEN222FSsN/QfvQ/HQd5Ussg22F+EcO7CwCTgkVegW Zd7IEwprkMxIoubX+pF7fZjPIHedK0wBeXKKYJzrCw+iXFldA+OQF9h1xwnIaRN6OoJJ uowCvTziLPUx3WOfZ5maXUMlDNg8XpaGmGpiK5iJhZSdBB3bSISnE+2LI5av7bPdOAR+ TNq3L7zWabq0C13kv1JZywt1PaeRJ2q3sEJuJC12z4wMFJVUURlFmQ/lioopDU01xSJb j3qW5iULWATYNufPyob1YFuZG7UJZYW7x6T1qagUbZUPYdHiaburLOYAF8upqVtaanEe TexQ== X-Gm-Message-State: ACgBeo19lGGGdFZJrMYx/nU+wRgB9FttxsL0vOSMChg5jATnMVMQDaMY SQ98rRGdEJJuy+ag0D/V5T68mGR40s02hZ6Og9iKHlCdsjw= X-Google-Smtp-Source: AA6agR5dcQCuC27gTW9XBgORIjDH44N3UB0kdw43WO77rGWgsqXOIywuwZr5eohOAXuzRpY5W+c04z8JOMUjwfLPIEQ= X-Received: by 2002:a05:6402:2751:b0:443:d90a:43d4 with SMTP id z17-20020a056402275100b00443d90a43d4mr38737226edd.368.1662233270983; Sat, 03 Sep 2022 12:27:50 -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> <764a967b-86df-42bf-9242-22e9aeedfac6@www.fastmail.com> In-Reply-To: From: Roman Perepelitsa Date: Sat, 3 Sep 2022 21:27:37 +0200 Message-ID: Subject: Re: [RFC PATCH 3/3] FAQ: sync newuser-install To: Felipe Contreras Cc: Mikael Magnusson , =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= , Bart Schaefer , zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 50592 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 Sat, Sep 3, 2022 at 9:07 PM Felipe Contreras wrote: > > On Sat, Sep 3, 2022 at 8:39 AM Roman Perepelitsa > wrote: > > > > On Fri, Sep 2, 2022 at 5:46 AM Mikael Magnusson wrote: > > > > > > SAVEHIST greater than HISTSIZE is always equivalent to > > > its being equal to HISTSIZE [...] > > > > I believe this is the case as far as using history from within zsh is > > concerned. If I understand correctly, Felipe wants to have fewer > > commands available in history when using zsh than what is stored in > > HISTFILE. I'm not sure under which circumstances this can be desired. > > Perhaps when working on a system with very little RAM, plenty of disk > > space and no swap? In any case, I wouldn't recommend using such a > > configuration to beginners because it's bound to cause confusion. It > > can be surprising when some lines from HISTFILE aren't available when > > searching or printing history from within zsh. > > No, this is not what I want. My apologies. I thought this was what you wanted based on [1] where you mentioned that you set history parameters thus: HISTFILE=~/.history HISTSIZE=10000 SAVEHIST=50000 > SAVEHIST was created for a reason, and my script demonstrated that > reason. I don't think your script does that. > If it was true that SAVEHIST should *always* be the same and > HISTSIZE Does anyone claim that? > This is not something new users should be burdened with, they don't > need to know what SAVEHIST means, just that it should be set to > $HISTSIZE. Can you clarify what you mean here? Are you saying that there are no use cases for setting SAVEHIST and HISTSIZE to different (unequal) values? Or perhaps that the vast majority of users would be best served by setting these parameters to the same value? I think both of these statements are false. Roman. [1] https://www.reddit.com/r/zsh/comments/wy0sm6/what_is_your_history_configuration/