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, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1486 invoked from network); 9 Apr 2021 23:23:48 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 Apr 2021 23:23:48 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618010628; b=hsv9t9018mfOWEXeJcOTviGNu++PsOrD7/wPTB5kuMwNzFHezYWsGqGOpM5mKrYWKnTzjoRDRZ Jv/+UC2QtxRhUEiaoWI9qFOSEHaYVzuAC2l+MoesxUQr1180FiFssb4hUjGrWZPCihjCSoPYrR 20L434tPzft355H/I/HtT/0ODGxjjcMT8LLmmzCO3/L+FrW4DL9FPQaqMoiODvc0aw0sHcEr7D 9mAIDmz7Uz861oSGiWkT7hocjskW+n/zjC414gxVzPfhj4+9da9PZrSMXyPah6quhp/SWXiIhi TnP2WKYHo3unCfctie5iCwXADIBWQTgvND3YLukLJWJqIw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-il1-f172.google.com) smtp.remote-ip=209.85.166.172; dkim=pass header.d=gmail.com header.s=20161025 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-20200801; t=1618010628; bh=q/h5vyVxyiEMDD9WyQuyLv0IgizLsgZ6OZZMOSXrgBM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:References:In-Reply-To:MIME-Version:DKIM-Signature: DKIM-Signature; b=RlK/Y9kQrclTVz+vRnZiKYY5Bi+358VuSKkUi40x0HdDjE6Q4LlRq7jdKJlX0VCN85bupkjCfi QZhLlMTR1uu0Z3rIzR1VmBzoyVxz7cMR/0budSVppKlj8F8/2AY9NB3+IJBaYbD2Gz9RAJhR43 UQo4z1SaWfrl4NgucMoc1LLyrKRW8B63JKlmkB7mUFXqt4NOf345qWnh4sLHfGCzU++SD+lpzB OUz+0raGMWLFBEcv+Ev8yuvZ6yuaH4HwiutCudUapv/L3tSCvT8E8dOfkxZGAMRC26Evx39Ou4 N37JTMkyszz7Uujqlj953YcqBh7xy0AEv3PfE14A3rN/fA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:References:In-Reply-To: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=q/h5vyVxyiEMDD9WyQuyLv0IgizLsgZ6OZZMOSXrgBM=; b=Ns27/Sr8qDLLmO10dtljLV5hcY JbfiEbB7S3ZhzwEsIeAgd6LEGF2V8n7JESj3TPLmZ+eMbNOusO2hMWwT+AZuL8gehm+Ohhcn/oq2t VS52FPV0QlpvVNfw5ZIaRpvhGGpZ+MMt9UaLo89Lcirl7ClDUGciWPIKgI5ifqcBMFCKrHgc2Dt5g 8a/jVj5jc/vKb2oINCfFp8umCYTvWw8Vt5UGgvcSsTTSACvaFCol8V9hpw6f6bcZgDnaTqzJWX0Ip +i10a7sGotQZ67AJV0XjagfEY6m06fHOTdpkX54Z4RUY1o89s47uPUpfKCLPXgaxsZVmRKQI/gBEm I8ZbjipQ==; Received: from authenticated user by zero.zsh.org with local id 1lV0Tb-00009L-On; Fri, 09 Apr 2021 23:23:47 +0000 Authentication-Results: zsh.org; iprev=pass (mail-il1-f172.google.com) smtp.remote-ip=209.85.166.172; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-il1-f172.google.com ([209.85.166.172]:36553) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lV0TL-000PsA-Kg; Fri, 09 Apr 2021 23:23:31 +0000 Received: by mail-il1-f172.google.com with SMTP id t14so6057049ilu.3 for ; Fri, 09 Apr 2021 16:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=q/h5vyVxyiEMDD9WyQuyLv0IgizLsgZ6OZZMOSXrgBM=; b=c4XL56dsdZ04ilRy0B69DR5AlkdHU5MNHGSNq7hvHeQDt/lHfcxFnC6aJZVAGT9TqO lxlU6Rnedywa3a3UsThH5NZd4CKQ/ziIw1PRsr3PXjCWh0mDFylareNxmEoLKdKjukE6 otpFrSAGxX9lSm9/RH+iZ3ciN0WpAwlZAakTOM6XMc6C16Quqb0hplWp0HyHv3rsVyMF 24sPrnzCz/xqm6AiYpqsNqwdpm3JxdsPoZHKZpmt5Y+UdpfxsH07t1iDqmrDNiMnnysT 60wTCf5M4RinfyqKOJhEgEfLfDquh+dFrTDpPxasMSt5b1muF2LnC7zvqGPUZzRCoP5m USfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=q/h5vyVxyiEMDD9WyQuyLv0IgizLsgZ6OZZMOSXrgBM=; b=Ryg8bdhGGd3s+JRx5pK7L9NWfPMAq9SNWnALnqo0vrzSrrgbF6KwX/bu5Hhy3pgM4p Sv4wjVK6WoZZ+4xrGNa31sAgJk14RXhlqqz0RWeHiWBNxqXmiImdMk5XcQ49xYgn4RmZ h37ndQwN9PEcSROyz+AyLN1bbu8kOj4EBlMpYdoEmVUXE6YF0oZJbGfcCTEqQPL0Eidk zXJydNO7/pWrlgeP/2dHBHJR4KFZQFRLbRxZXE4yfwr8uC3RbHkhGFQ06hEUNh+2LO1/ 0g8M0mZp8/z/UzbouWJlP6INQ9xOvhx5nqI8vASq8vK91jhzhIqP7AbQCVP9holX3zr0 I+CA== X-Gm-Message-State: AOAM5331c7VyfTnYcPLWIswhy6EYjmwNFlKpIDTYaR8WW75XbRqTfE9u emXcaQ0L1BW1Hopx19rFnyZnG/3kYOIHRueLrJ4= X-Google-Smtp-Source: ABdhPJzynbf6QG6tSrmA5fLqzxUM8c32jP5oBbaGD91TpJr/WeW04XQPK2utAjjH0AQBrx79BIvg7l9IzKXo3SDOIks= X-Received: by 2002:a92:d02:: with SMTP id 2mr13395331iln.159.1618010610775; Fri, 09 Apr 2021 16:23:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:d144:0:0:0:0:0 with HTTP; Fri, 9 Apr 2021 16:23:30 -0700 (PDT) In-Reply-To: References: From: Mikael Magnusson Date: Sat, 10 Apr 2021 01:23:30 +0200 Message-ID: Subject: Re: Rewrite of zsh-newuser-install (Mikael's subthread) To: Marlon Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 48458 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 4/9/21, Marlon wrote: > >> On 7 Apr 2021, at 21:15, Mikael Magnusson wrote: >> You could also just have a comment saying something to the effect of >> "changes to this file will only take effect in new shells, you can >> either open a new terminal or type "zsh" in an existing terminal". I >> guess I don't care too much either way after all. > > The problem is that many new users have learned from OMZ and other source= s > that they should do `source ~/.zshrc` to apply changes. I originally had = a > note that said you should instead either restart your terminal or type `e= xec > zsh`, but then Oliver & Bart came up with the current solution. > > >>> Personally, I would=E2=80=99ve preferred `setopt HIST_IGNORE_ALL_DUPS >>> SHARE_HISTORY`, but there were several votes against that earlier in >>> this >>> thread. >> >> I'm glad, those are even worse :). > > Why? What=E2=80=99s so bad about those? Typical worst case problem is you run a command, look at your terminal, press up twice and enter, and you've accidentally deleted your entire home directory. >> Well, I'd have the same objection to either of them, that it's quite a >> huge departure from the standard mode of operation which is typing >> normally and pressing tab to complete words. > > I think it=E2=80=99s a great feature that very people actually know about= . Besides > that, even when using `interactive`, you=E2=80=99re still typing normally= and > pressing Tab to complete words. It doesn=E2=80=99t change that. Have you = tried the > feature? I have tried it, but as you note: > Nope, doesn=E2=80=99t work either. It inserts the selection but does not = advance to > the next completion. [...] > Nope, in `interactive` mode, it just inserts the unambiguous part and tha= t=E2=80=99s > it. It doesn't work that well. --=20 Mikael Magnusson