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 31981 invoked from network); 31 Aug 2022 19:41:42 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 31 Aug 2022 19:41:42 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1661974902; b=HfldJ8q4CtrBv/MYugblal24FbZ4jxUHPoJSYENmiYNrFGOCjd95NnVHQVtkC7cuPgczYyRnGL yoYbgNk2+omx0TWKtYAfsD/6R3z8i1aJs+E7t6zOX/4vsESGQzTW/eR0lNRSiDgOkCLI/ghGNe jJ69EzJh/8UZ746KVoIQOr+n5Ddf/Zlv64Y6B/qajlt85fzVIz8qx5QkD2Q7Wqv26+nyo0i+7t +QDesvIsd92iiAHMYz5pe4CCVCOmz+1QOtIKl3hVu7xvdi/UgCMtVicYnKnf483LImoBCTarPU g94SUD1mR2JoXoCIz6Pk8/rpwgCK8IRtURPcn4HVFCWEZA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f45.google.com) smtp.remote-ip=209.85.208.45; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1661974902; bh=UEhr6BOxBGN+BWMpaFUn6IhfNgTaiWjN2KkRgDwNEIw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=qmDovlxMuZfmCqPw1x51KBEM/BZ+/ra1OFJrgYqulzww1N3DQ6aw49JOLFC2rbdn1RCAcyQg7l m0Zz+PYfaIaRaRveY42PTVbb9v1A3w+R0BT4gEIutll5xWiXnLGvXtsnbvzEdWn+I7Gsk+jvyO p7Hv1qmNqeoqr0YJqXhPAt7o6ZL8aXP/jPjJ5gvai5YjzUlr5ntxY/f0qhB4eBcCI0PGUh3KPe e4NVIXLRF0vY1xcRsvuj7GdBdCwXJDf+wFFatRAxHqy9U/4FpXIFEuyG5xFcBE9njgqedew3fG LWKt7sjsJEBWXfmTjmWxSVoJcWoKF55OAGu0dODURRF2NQ==; 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:To:Subject:Message-ID: Date:From:In-Reply-To:References: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=zGxxFBwcOXp8M0ytqKfZEm127Zucr5NDnUctcKdQMMo=; b=XJHtgOpQLzY9PNlR0kOlWUW4TI bp7zBfx8RyBYWohetNJY4zy1z5Ui6tR9BNu4qPO7j/I7kqW4J0G0CDmTdZt+FQ6eGCL94EwEMt0b2 HrWARnqsdJP+8j6H+wM5Q75Tfhal7xzPQ4jZ3KSMxCq5EOJQNklPJop0nKcMWSb8rgoBira+YwIAm 12rU3P2DI+M7z36YENEEm36qeyjhrwGZQu1i4hnMnTKghtvUMGn0kVTBqHBjJOLutFqFVn2UKGIZV +b7sIKQrq0MIoR0NBADzfBjhgRhthdeNVFpD+SSILvFBL8U/hanBGihEEFuGObdrEW9S01a/ul8GI NEcvC8FA==; Received: from authenticated user by zero.zsh.org with local id 1oTTam-000L7E-2u; Wed, 31 Aug 2022 19:41:40 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f45.google.com) smtp.remote-ip=209.85.208.45; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ed1-f45.google.com ([209.85.208.45]:37727) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oTTVa-000KfT-S1; Wed, 31 Aug 2022 19:36:20 +0000 Received: by mail-ed1-f45.google.com with SMTP id b16so19737083edd.4 for ; Wed, 31 Aug 2022 12:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=zGxxFBwcOXp8M0ytqKfZEm127Zucr5NDnUctcKdQMMo=; b=dz/wh2EcfYCToY8+Zqt4qUyxqAtU2aj7QxgNt1h7fpuwFTGEYWMScauMJYB2/1GJDJ r0QYkilPFVqlytepwqseynPwr/SnfmJALyW77GK4MNgXS5Xd6OxupOHmfgye0TZgfRmf J1EHuzqq0hO/Qwuu8iUNmIs9oTNTW4hJgnHKQyz1n5nf1fuuLSwGnV9i5f6Z0RJL8lfZ 5NN3GT/YImSO5VfT6/X9fYzf1Ga83jEtUVgISBIbFnjpt1IyFGo7w0q9wzHv5MxC++82 2o3X2lxXngM5lfI/KIJBQS41W2VSGG9ld64Z9W9TDi1luNu3FLUxctgjcSaRQ9d4N9w3 /mSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=zGxxFBwcOXp8M0ytqKfZEm127Zucr5NDnUctcKdQMMo=; b=WxwJiFa4GTClVhEaohNisVarY1gDBZktoNIf4jd81V9NYJ5yeZkRkdLtTi2RtB+7WO Tsfc4Vy+5L13EyCbqJXRi9l/CLvtecbMdD4hAjIqsZYaaGGky1GmJpsnLtkVYo/8Ljei BlqS3whZ8D1XBhkL/PbC7TPoX3Ia4lHc/6FAJmVR0RVMKgn5DtZHbEDyGhAmymVXZc49 +fcDeyYOR3lrIT5GVnwYCWQKn2ikj69w6cNwsopBYx7z52HrnhitZRiFZD/q5d6hdcwa XIWsmUyy7Thflre40uWjN71b/TbjNydoSu2XYnn42Fa7WODozpb6eAgLXsDDoNjpAam1 KB/g== X-Gm-Message-State: ACgBeo0YyckQgCnK0bWq2rqmVKee9ztfjiv4UOo7jApR0PBEko+jopO6 tRWLJTKoIbd+iOTNZBAJ+w8sD0AWKRLctxJPw6ZwdNzF7Vc= X-Google-Smtp-Source: AA6agR5msxNl66O1iQ4RCIOgjZkARp3Gz0yxbjiJEiwu7VhPmuFiEgyiwDgbiQBgnnBw5TRo9vvddl7j+wjaQX4+NXg= X-Received: by 2002:a05:6402:90a:b0:443:8b10:bcad with SMTP id g10-20020a056402090a00b004438b10bcadmr26169071edz.416.1661974578343; Wed, 31 Aug 2022 12:36:18 -0700 (PDT) MIME-Version: 1.0 References: <764a967b-86df-42bf-9242-22e9aeedfac6@www.fastmail.com> <20220831122842.GC992100@zira.vinc17.org> In-Reply-To: <20220831122842.GC992100@zira.vinc17.org> From: Bart Schaefer Date: Wed, 31 Aug 2022 12:36:06 -0700 Message-ID: Subject: Re: [RFC PATCH 3/3] FAQ: sync newuser-install To: zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 50552 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 31, 2022 at 5:34 AM Vincent Lefevre wrote: > > On 2022-08-30 14:31:30 -0500, Felipe Contreras wrote: > > Yes, but "we" are zsh veterans. We don't need a simpler .zshrc, but > > newcomers do. > > Having a too simple .zshrc file is not helping them. Rather than > hidden defaults, I think that it is better to have explicit values > in some default .zshrc file, so that it is easier to change them. We've made several stabs at this without ever coming to a resolution. The most recent attempt was in spring 2021 (search archives for subject "Rewrite of zsh-newuser-install"). There have always been 3 problems: * Supplying a default file leads to package maintainers shoving it into /etc, despite admonitions to the contrary * A small well-documented file is easy to understand and edit, but ... * ... others want the default file to enable and configure all the cool/powerful features Consequently we go round in circles and end up changing nothing. > I currently use HISTSIZE=8000 SAVEHIST=8000, and while this value > is OK on some machines, I've noticed that I sometimes lose commands, > and indeed, after a look, this gives me only a 12-day history on my > main machine, while I would have thought that it would be several > weeks (I wish I could set a minimum time limit for the history). That's actually not a bad idea, and would probably work well in conjunction with HIST_SAVE_NO_DUPS. Would require EXTENDED_HISTORY. > And there's more than the history. I suspect that many users would > like "bindkey -e", a better prompt and better completions than the > default. Cf. "all the cool/powerful features" ... (Isn't "bindkey -e" already the default? Is this just to overcome having EDITOR=vim or some such?)