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=-0.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,GOOG_STO_NOIMG_HTML,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 12333 invoked from network); 22 Feb 2022 04:04:04 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Feb 2022 04:04:04 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1645502644; b=l22R5lkjV5GjLtcrXirWi0+YW9EG5k/UxRQY53twEzzt3yI3ikwJmfpfsHErVeDiCPbZKH0ylY XqQS2quNrSb9ZFsixPPaHGEeQZpWdGRLhWkCO7ZInRTW13GAP6R0v0p0v74hfvgyyA09GPz4ie 1Mz9N+Q5mMu/62xAhAX6wairiKFoOjXqacs1C7AQX1sy/aYSvdP4FdB4fzoS8C7tYgZnk2hAxW 6D02y2xac/2/e+fWk5DJuQcI12/AIkX6m/yipvL8Wmor7EyZyVNnXU+p/ewvhj8i71mQ+i06hL WvC/w5foyUI7OnSzQ8d12jdLnZ4ILwyG3TJAnTPogJajtA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oo1-f49.google.com) smtp.remote-ip=209.85.161.49; 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=1645502644; bh=Iw4AsJ2U7z0FGWBSLoF+xDuEO/uYIIKk5KbDlwG224Q=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:DKIM-Signature:DKIM-Signature; b=C1eVuFQ/5z/PalBbreLujExWt2ItERwG+67QbPXjxHgalQumpVG6P86epui4OHWwaXYwCO0XRe I4yB25aSQbD0vcPaEIqJS3dH5+1ThwHhF+uu5UbzdknSnYLB6pbxrmEokSZpeB7+H53Kf28Tay VOw6zY6L08WYBgma+rQfaTzX1sAx1ivEtsiKbbDVKXITak5XiKVk0euxOdWxePCpid2vKC6D7m EkKV9BwlymyjMArANIoqpvWFA8hZw65yxs8/O7eE23ZGrkk81qt2WjZMwSezwkQZCxei6DYSKd 7JEW39XehHuQflNLk5ZhWGQvNhOOGTaTrf9M5Av37Sk7Dw==; 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:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=uuyrzX1cksSTrjGmzCCSKlBAPi+QhYf/aMHYWJYtF4U=; b=p9Bc8Iz0yQX+HK1op6LQKi0zdo 7Kuzl3LbpxiVPIAkp1WTZPFjLLfcYqr1AngY26xi036dJRzPhvU8Iq6RddEerZZ0+CB8vuNH1lcRG p/kwW33e5PDLNkIX43InDb120bPRQyy6GjjfiGaKAd5tkChI7uMjjeKiKdUtHaChUwvEnOBowIaX3 /sBRovRCY79XbodROvn6GZHkKRQjvC/g77hMiOjau045lmSnJUTHGnpJb1q2nyUlVn566mdNnH9AR XL/kCX04jeawq/UeJtA2qgOh1D6rilUBnXZa62RQluDVosnQlphOmZJ5wrGGXxr2w0i7nH8wQnpA2 /mCxYHAg==; Received: from authenticated user by zero.zsh.org with local id 1nMMPC-000Mx6-Lp; Tue, 22 Feb 2022 04:04:02 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oo1-f49.google.com) smtp.remote-ip=209.85.161.49; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-oo1-f49.google.com ([209.85.161.49]:45817) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nMMJv-000Le0-5m; Tue, 22 Feb 2022 03:58:35 +0000 Received: by mail-oo1-f49.google.com with SMTP id y15-20020a4a650f000000b0031c19e9fe9dso12860371ooc.12 for ; Mon, 21 Feb 2022 19:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=uuyrzX1cksSTrjGmzCCSKlBAPi+QhYf/aMHYWJYtF4U=; b=XxkV3xf49p+tBCNI7jOK+77uZ7P7EhVHEQGILs7P23NBpsMxtQfaYQbD4qmJpURg63 kuMQfrvt5xL88qLVJd6nwEKRkO5XVnmmO3nkp9muRWwNIRjcICR0nQZRVwP3WIuU4yKy 9XyDmouDDxMuGR1e52GG/dZVLt8dO1NCAc2Q66ZFIfceCeB0HXwJOMCcmjXDaEjh4lg3 MDqjF6f8pDBJnySMnGtTtFV2fnHb5biD+TxgeLZJEjez7Q5EAMZMI1llA4tJj5T3yr9/ KGB9Jj/eHBZWaiXiUuD9gz1mC+SRmmUIcGjmQYRZTn9IViXWb1+36lsWzkDQnx09wCYA q3Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=uuyrzX1cksSTrjGmzCCSKlBAPi+QhYf/aMHYWJYtF4U=; b=oyJAze1hG+/gBXoV40XqRjlhmRe6mWdhQxHh+Kmnm0vxqGbnki4j8zistvaHS+ULUG y6nvQHU3HhYjq8vFRd00vBGok5lkeQa3tZwPgzEJzIYfc1dlCjGziUQxaM8yAqfLvxEt QBTUUpmwkRwmphRMWp+0hvRB7ptUN6Nb7ek/eFqkTzMZ9TV9ZjKlvpusbt7UZXGGKm3j 5Jzx53ewmDwAYK2Vv3EQay3DRnul9hhNH2SVQ9hb1GMFZjzWDjwWVGKPLAsAwVPImY3J Q2U6IPnTEAOas7y6rpTqaAXqAwaNb3yBZ6d+gW7s/mXa1XS881eASfc6DizdeoqIXz/i ImDg== X-Gm-Message-State: AOAM532F3x7gjLiA1L48vBPPkoJOZAMbh1u11lLXtPIDHeLPBIyHFr5/ d3D4YKKcXCSlnAxqeK6Q0fYeysUtVNM= X-Google-Smtp-Source: ABdhPJwY5Ism5nwqLj/+8nasvvLB9UPgfCrH7yy0byRnQR8/t0jaX+KqHnjxZ3P/vyfFUdVdoC2OXQ== X-Received: by 2002:a05:6870:89a1:b0:d2:ca93:8797 with SMTP id f33-20020a05687089a100b000d2ca938797mr852086oaq.112.1645502313747; Mon, 21 Feb 2022 19:58:33 -0800 (PST) Received: from CptOrmolo.darkstar (cpe-76-184-110-212.tx.res.rr.com. [76.184.110.212]) by smtp.gmail.com with ESMTPSA id eq37sm27876703oab.19.2022.02.21.19.58.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 19:58:33 -0800 (PST) Date: Mon, 21 Feb 2022 21:58:30 -0600 From: Matthew Martin To: zsh-users@zsh.org Subject: Re: zsh function breaks after error Message-ID: Mail-Followup-To: zsh-users@zsh.org References: <0oea0h1nt14oll0drq3450vng70ro0ga43@tlc.com> <44fac8cb-589a-37cf-49b5-47d8836a3647@eastlink.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Seq: 27531 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Fri, Feb 11, 2022 at 03:31:08PM -0800, Bart Schaefer wrote: > On Fri, Feb 11, 2022 at 8:00 AM Ray Andrews wrote: > > > > Yeah, resources are out there if you just beat the bushes long enough. > > But how about if it were all collated and condensed and > > brought in-house? > > Consensus is hard. For example, I personally I think tens of > thousands of lines of history is unnecessary no matter how much RAM > you have to throw at it. > > The other question that constantly arises is whether the goal is to > make the shell more helpful out of the box for relatively > knowledgeable users, or to make it more attractive to newbies. If the > latter, is the most important thing to give it a flashy appearance? > In either case, where do you draw the line to "get you to 90%"? For shell configuration in particular consensus seems particularly thorny because each user has their own opinions on what's sane. Rather than try to come up with some sane default config, I think zsh-newuser-install goes in the right direction; however, it seems nearly all new users find it intimidating. I've taken a stab at a newuser like wizard but as a webpage to hopefully make it more approachable https://storage.googleapis.com/zsh-guide/index.html If people like it, I can put it on a real domain. The idea is to just be good enough to not need a framework and get running in 5 minutes or so. For what to include I looked at zsh-newuser-install, oh my zsh, zsh4humans, and zsh-sensible. The repo is at https://github.com/phy1729/zsh-guide .