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 29871 invoked from network); 3 Sep 2022 20:14:19 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 3 Sep 2022 20:14:19 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1662236059; b=IXEgegrNg4nbMn8M3FQdFKNp5S0HVd/bX7TT5uzY2PUvgtXwaXKjEisHidDPyWoVXSVQIrCzZu l1vPZE6AqIv1+o3htrSt9rhnKeXDZVE7IJGtkEg5k3TYeAziqb5YvGcbGh3MFBLNG79CCMMcPC 1V7P+z4G/FgmU16HQ9lkPsnMOfvcLGVTdqp2q3CxB9dlo6IEVx46chA+oqeG1l8Tf0eQ+QzCxI Usjv93DimEpUH0WTY9tQ4rB9WL68nER90IjM3ksEOG5AHKMPNG4v4Re9UE9r/LuRbywcXZ9ffi dhL3muei5XC2uBFzQhhj3ambKXTPM6bHVHisLFlcuXovkA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f53.google.com) smtp.remote-ip=209.85.208.53; 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=1662236059; bh=8dC3WmYnIeCRHkotu67Vg7NqQr6f1a1OnCAniJFTsTg=; 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=bONgZyEqCqLdLFzHy04BDyvuOkqEVMrTEz8mXWI/IuZYronRWnypuwdxA4kk6EsHSsCA2PEaPB /6MyvoCqzL+AUGQvZanjj/apLsqlP/fxu1yYWgr+Pw+1bPQtlFSHnXtDApZ8kMtKFW0Lf3njPm QGW08jH8PV3VC+1eIf37AbjqBLaDE5CKerI42r+wioDvSb39lwgOPL+T15uThxz5ovABqaj9Zl KXXVUhVDjsX5OMo6Le4xaMh583+5M55ZJZfFFv7uCR5B6Cbbb3j6XOZ5KzjgVc0iWHPoWGYjjZ Xiz1Y1N6FeDkuIHCgBuvDyjqCvPNs2QirxQNYAzvQdKn1w==; 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=GKkILFXDUOhIO8Ox3WqWBwGhDBKtAF75dqKqxHEY3kE=; b=MXhzeRMNld6HRPMdDIBW2EJMi4 C3RpTE5L/9S856CQ3JdoH/JLV0WSvNkLby2C9m4OZ1B/yQ2Xm7A2rF73QYcuTCw8DUmbj2paAi/XJ ssshkETr3xQ0jd5kWGsu7jpMG5BzlsueCz10qA17TUkSX94IrSf/jCvSbL3QRns4W4g3U5M86u4nj 9WHAJVfVyBuImdVJla9P7s0yQ0FU+P+3xvRIDXcA4B2o1eVrRnE8m6ZI41jpmdGSqyEYxDoUzjsZ/ m29qdRdxOFOxIXvOR5sQ3mAzTNDAaDuoPzCo1e92Wv2cib7PEb63uwN7frfWS3dZXwv0LryFtVRCY vTDXRNeA==; Received: from authenticated user by zero.zsh.org with local id 1oUZX0-000J79-G7; Sat, 03 Sep 2022 20:14:18 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f53.google.com) smtp.remote-ip=209.85.208.53; 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-f53.google.com ([209.85.208.53]:37582) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oUZRq-000Ih7-Vo; Sat, 03 Sep 2022 20:08:59 +0000 Received: by mail-ed1-f53.google.com with SMTP id b16so6810205edd.4; Sat, 03 Sep 2022 13:08:58 -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=GKkILFXDUOhIO8Ox3WqWBwGhDBKtAF75dqKqxHEY3kE=; b=As6WGzWstF0lQDsNG7zrIkgLVe4gA+SpAGo5ekmrgIOV0RUNcEUgk5gByFRTYruc5/ 7JF6a+mxWwOx8+PllZJy+AFcWiHKV2ASHTnu7ALar9lFSndqzfjYnasIMN04A/B/z2h3 0Lw6puvb1s3Ffb0cuvbSPYPN7Cqd5czlHFYK/baSv67MTzQNzx2wrUGnFAxrkCRgCDsW jfb5cI8i5TRsOmALHhhqtA900X4p8QX3SGQ67HfvWdFTNyUzxGkgYAqFodupd2pfFOyQ ZWVr235lXGTRSK3xyrsAchJzR0px1+lRonxQb+NGznmLWlyfjk4Eli6o8/k9wT76pQFl h3HA== 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=GKkILFXDUOhIO8Ox3WqWBwGhDBKtAF75dqKqxHEY3kE=; b=NAtWcXyXyxFAfvGobbx6v6bJ/UePxuNU8hPpPtxqww2yfoLBIe0ofPC6sxeBr7ONzk jrHgr991TSgS7+IR+zMUpz/rXe5HzNqxcXBy4zmLXQ2Xn+hjFKA/JkNmtjgTfn9KZCgB 07lTF3ZgtJMf1t1Pm06aYUcdwRV7uswQA+X3Mfw8mAEf4YorhdVoNWsxA0N27NnJED6F v4DsCr537cwfcEMkmfbNdg6DxiHSy1/maoOfjlsfg1auV0KYBmHDWD/TLmyUBa5zJvGG buGTQ8TSKugioHESAocTqowwGFKCWaoeSew0pPNuR2guTdhETce8ojWLilFUWRHCWO66 vDsQ== X-Gm-Message-State: ACgBeo1UV2MHsrvY4g3VDTee6MtcUwdPjlrBpLjTvYp3lLmLaqSEv3CN FgqIDEiZrvmcbBpX6lK2DESNr20fDMHJTNXF5iw= X-Google-Smtp-Source: AA6agR48MBRQVgDZ/G8zzJDsm4w17k1wEe6fZ9W2novnQuPUEZ6wGKX+lZSFde4ra+QZuV+4O5LKQPMxksFjaHYJTVg= X-Received: by 2002:aa7:cb06:0:b0:446:7668:2969 with SMTP id s6-20020aa7cb06000000b0044676682969mr37582957edt.206.1662235738116; Sat, 03 Sep 2022 13:08:58 -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: Felipe Contreras Date: Sat, 3 Sep 2022 15:08:42 -0500 Message-ID: Subject: Re: [RFC PATCH 3/3] FAQ: sync newuser-install To: Roman Perepelitsa 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: 50593 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 2:27 PM Roman Perepelitsa wrote: > 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: My configuration at any particular point in time is not relevant to the discussion of defaults. And you omitted the very next sentence I said: I don't have any particularly good reason for the numbers, I just want my history saved. If you really want to know 2 of those 3 values are different now, and they will probably be different tomorrow. Again, this is irrelevant. > > 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? Of course I'm not saying that. Absolutely nobody is suggesting to remove SAVEHIST, so this is a smoke screen. We are talking about the *defaults*, and what makes sense for new users. > Or perhaps that the vast majority of users would be best > served by setting these parameters to the same value? Not the vast majority, the majority. And the current documentation already presupposes that. -- Felipe Contreras