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 31669 invoked from network); 11 Apr 2021 11:38:23 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Apr 2021 11:38:23 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618141103; b=assaSgtGZJnv4vY386eVWGIIoOUD0CfK2YmMTReS/howLOoqyuIzxaaCoIP/mJh8+JCiQe9TWr Bv2geep+ec5fFZxKir5mHxzu4/a5Cyk0dq+ZqZ8DdAj4Rh19UV3ajaptCvDhG1XA0PT2iP/d5X PqCZ58WpynqL6RXe9+YdArULmPYkyNQ43HQvrt2PTRo8DCLhrAWR51ZP8MCD6e0m70swBznLcC Z5GlcuW2Ko9ZnzfhzdBPlV1SnKXzAeYMjWYmitzGG5N308DVlhQyEeUT42y8zproDdk7JMA3Qz zov03FZ3fG/O55RDGas+tFmyrfw1jFQsFTF8TpE85170qg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f50.google.com) smtp.remote-ip=209.85.167.50; 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=1618141103; bh=r7OzoG2CNGywW9Xqv5qPPO2oDtcGWN4HgwHEyTcqssQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:In-Reply-To:Cc:References:Message-ID:Date:Subject: MIME-Version:From:Content-Transfer-Encoding:Content-Type:DKIM-Signature: DKIM-Signature; b=TtefFFa2LaqYxIc5vEZ3cJWDt+Ri9XdCwsqiB7jaovqCRtjlYwkM2OImK5JzDzS9S0IsIdTJde ECu8Qse0+zXt8yHu7Rpi5N3TCS1CiGxNq7249P7qwlVi2GRtBj6G0UdamruGrjXRMx0WtQcjyX KxUbc0mTnE83CHJA+0mYjN5QR+IZTBZXZL/H4SDVd45sOXhBovhJD/GW4eBsu61iKcfhBF5xn3 kodghzcDuIAK1OLmmsd9xuTKkpCVIb2il8wXoESJSdrINNtPbWisaExGJVeAMmOrOTzSbjB+gL qUFM+o2J2WK8olMnK7ElN/CeuKvHO0a7gMPSGIo2HzTnnA==; 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:To:In-Reply-To:Cc:References: Message-Id:Date:Subject:Mime-Version:From:Content-Transfer-Encoding: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=r7OzoG2CNGywW9Xqv5qPPO2oDtcGWN4HgwHEyTcqssQ=; b=lz0ZmEN/Jd14Qnu+WQ/O7PzmcD l7oi0GQu+6QThpo2r7+A8r4zCS8UkOKYy/SNo03HE3tGKi7OONTY+8Ms/aqdRnPhemeMvEWvp2/ZG 1bZC4TqodWffOkJ4B/kT/4hpI/KVUoPwCUZ79z4mXIKNOYS7rHjvUw7U4foYiIyrZ/jF1LR0PCErC JeOfEbitXcdwyeSjik26dFbfRy1G4ys869LyAsoTbENH7nDh8Z2rth95XEgZUptMQvoOvzY0uE48d k16MEuk0VsznAyBiL7Evw8vRxd2bePATWPGHnZndc9OTmHLYLSMKnGDlA2RZjaOW4scA9j4uPfJaU xh+4pfNQ==; Received: from authenticated user by zero.zsh.org with local id 1lVYQ2-000FWP-Dm; Sun, 11 Apr 2021 11:38:22 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f50.google.com) smtp.remote-ip=209.85.167.50; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lf1-f50.google.com ([209.85.167.50]:35651) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lVYPl-000FIL-DH; Sun, 11 Apr 2021 11:38:05 +0000 Received: by mail-lf1-f50.google.com with SMTP id x13so6642301lfr.2 for ; Sun, 11 Apr 2021 04:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=r7OzoG2CNGywW9Xqv5qPPO2oDtcGWN4HgwHEyTcqssQ=; b=Epx+zC3Wxnb6a6+0f8AWsCp6eQ6bpCHYuDhSxHA6oZfvm9+a3802+xMtq8aodKmpbh 2UnNDyV1p9mFqfVehjuiMH1JUxAfeZHY/bVeZYgWE1IzIphE1QTUqhvR6ehkmPWdCHFg Nqx0jwFgRxqDgvSTci2u5vQ9QJNYrL7zyrGefwS5FzahfvZ1py45M0SB8YLZ8j6umICs XHzRyOw34AHTjbYvjd+hWZsyPLckOmNLP4kL7FzbNhLRNsLbXMpHrsUjTOwD7jYkrxsZ rk6LPk6LOzOvMcByNhkzZTrKQ43C7RMdV5gnSrQFrWf1PonJDv9zydt5eBf2OpY/3EDM TncA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=r7OzoG2CNGywW9Xqv5qPPO2oDtcGWN4HgwHEyTcqssQ=; b=AOcaM24aWwe8XXvlX1otM8ojU5fkb3gqjgT5eLGtNrtpkkLF4r3UHL4+J2i5HIMJqo 9ykl2ulQZtLckOEVMP9ioS9SEKt8XE57pWuXXk1lKIlvgJpv9+F9ZOWP5Gu3g4ytcdU3 akyiQnHkAaEChIP7I5C1X4dWhjq2QBcw4HhN1V/5oemwEaS3sVWsQyjPlKyCcluVBUcv w5RTqio6ILHOU2AA/vHhKo7gv5FDL4r8kk8naHbNyK+AfLf9m/hxzwYXrdJha9SjhtJC SZFHKx96BmI7quyuetkHuEIZ+7EvHH5YaRYvYzWUZah9dCpazzd00XasoolVumWtpNPT oyoQ== X-Gm-Message-State: AOAM530raMUqqMfGkMN8g3Hu/Qi/7IjJBno42y9Vz3jv6IWj1o5Wx9gf kcEMJKFbeq9OtC8BtHbwhzo= X-Google-Smtp-Source: ABdhPJxmZL73FN6xMF8BObWQjQrxyJjzXvWOQLHPjjMF7DTsZOxaSFj4Mbg/ZwI1ZkJiEp7ytzVsnA== X-Received: by 2002:a05:6512:21cb:: with SMTP id d11mr15424865lft.177.1618141083626; Sun, 11 Apr 2021 04:38:03 -0700 (PDT) Received: from [192.168.1.20] (hag-tkubng22-50df3e-132.dhcp.inet.fi. [80.223.62.132]) by smtp.gmail.com with ESMTPSA id g9sm1780740lja.134.2021.04.11.04.38.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 11 Apr 2021 04:38:02 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Marlon Richert Mime-Version: 1.0 (1.0) Subject: Re: Rewrite of zsh-newuser-install (Mikael's subthread) Date: Sun, 11 Apr 2021 14:38:01 +0300 Message-Id: <761DB937-967B-43D5-B0CF-0DB7737078BF@gmail.com> References: Cc: Zsh hackers list In-Reply-To: To: Roman Perepelitsa , Bart Schaefer , dana X-Mailer: iPhone Mail (18D70) X-Seq: 48495 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 11 Apr 2021, at 01:03, Roman Perepelitsa w= rote: >=20 > =EF=BB=BFOn Sat, Apr 10, 2021 at 11:42 PM Bart Schaefer > wrote: >>=20 >>> On Sat, Apr 10, 2021 at 1:47 PM dana wrote: >>>=20 >>> the proposed changes have gone beyond the scope i'd initially envisioned= . >>=20 >> Ditto. >=20 > Likewise. I've stopped commenting on this thread when it became > apparent that the size and complexity of the default zshrc I had in > mind is an order of magnitude lower than what's being discussed. Looking at the .zshrc I=E2=80=99ve made, I would suggest the following chang= es to reduce its length and complexity: * Move zrestart() to an autoloadable function. This is done. I just need to p= ush it in. * Move the prompt code into a theme that can be customized easily. This is d= one, too, and will be pushed. * Move Home, End, Alt-Right/Left & Alt-Delete key bindings to the ZLE code a= nd menuselect Alt-Up/Down + Page Up/Down keybindings to complist. This not d= one yet. * Fix the way Tab behaves in complist interactive mode. Not done yet. * Move the rest of the keybinding code to an autoloadable function. Not done= . * Make a =E2=80=9Ctheme=E2=80=9D system for compsys. We could put a couple o= f different flavors of comp config into comp themes: one for menu select hat= ers, ;) one that uses `interactive` type-ahead, etc. Alternatively, split th= e settings into several modular, autoloadable functions, so users can mix an= d match. Neither of these is done yet. * Create an autoloadable function for the pushd/cd widgets. Done & will be p= ushed.