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 11618 invoked from network); 11 Feb 2022 14:59:20 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Feb 2022 14:59:20 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1644591560; b=jrqY2kemraUNDjYuXsyqethcyHv4jS8z27YZeX8WMoyets1XLPHZpiBEOKS5ui2GYmT7AvWSQ+ YzqM1POpgvwWWBqaDY64NCzcrIxRnsDlrZFz6cUsbklgATLjkz0rmmzFq4BrTrsiFgDctzzF6Z Pr3M8UkO6zbd7c31kO++mvXV1/yEJVY3FiEMJStiPiJWBtgi62yOcix0K81XHIVP0EzEJ9Q00D dxPk9WYzOp0YizhIytmkG4bIqQu2oPZ1UK3BLUwZ8OviqjQ0W2RVN/W1AitmYgOu1cIoh8UzH1 yzw1vuMo3Rro6dW2nHAMy92XFzBQDSEmR9OcGwkLBej7Lg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=virgin.net header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=virgin.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1644591560; bh=rvgmSOJQsc3EEDPBEMR+K7+h4T/mJJehMe3Dmsty7Bw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: In-Reply-To:References:Message-ID:Date:Subject:Cc:To:From:DKIM-Signature: DKIM-Signature; b=fC0Kr0bkvk7n3vzjwkP7OrJZ7cZCqmLaUvZuQu+zyY9UB4b2xVDkxMIbyCwpmVPWAVGZqPF3Sd nazRvrtP2FYRFH3wz6PB79YaBoDjdTWd+gVTFDBdK///ir18800bgcsCmjrPH84W3d3EJRtPCQ yp2HgS+lLq2jNA+7kIGho2kEXOwkAdFL+ew0GkfCS5Tmo1o6DkqJ+ISHuwF9UxcxpUxcxn+tIn ohRARVttum/3lFoYSSeYYGw08Sy6P1ro2TWWPhsKIZiBWaHxyqYUl7M9zR669SWKah1BiMibcD Do/FIXbBXBeJm1l09dOIA1er/p5gJ6mY4RahdVupqknuYg==; 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-Transfer-Encoding: Content-Type:MIME-Version:In-Reply-To:References:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=rvgmSOJQsc3EEDPBEMR+K7+h4T/mJJehMe3Dmsty7Bw=; b=JMbQOc/IWHW9vvkXz1OBiPpFe/ 88sbnuqpkKrYfU0SH4CZ9SBo+J9gb5Yy5qFOcgUfQpBmvbYTO2um9Dwirr3sMBTHVx/6oTQhkm39m vS3H4RGlnWE+0ozbzUOLAOkYiHVBk9KM6lQirdCgKH45T9s6yv1kxuhB9KnqN12tKaBIQxBMJzXGI 61Q9tuJ55JyKgvAvyYfx+UMOeeAzhKVc/OHD+W3DcvQQ/7hxQcRVrG9F+Ddhwy7plvA01tT9CLkDf zMRWM1KcBAC5M9a3ZsGKBS4uuPM+kAWnUHykglKQb5XoV1yvn/3d2LCHZpwgLvl4oJx1LZ9bOGmeu Dnp6x9qw==; Received: from authenticated user by zero.zsh.org with local id 1nIXOI-0006SV-Eu; Fri, 11 Feb 2022 14:59:18 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=virgin.net header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=virgin.net; arc=none Received: from smtpq1.tb.ukmail.iss.as9143.net ([212.54.57.96]:46248) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1nIXNQ-0005kw-8a; Fri, 11 Feb 2022 14:58:25 +0000 Received: from [212.54.57.112] (helo=csmtp8.tb.ukmail.iss.as9143.net) by smtpq1.tb.ukmail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIXNQ-00017S-1U for zsh-users@zsh.org; Fri, 11 Feb 2022 15:58:24 +0100 Received: from vCholatse.rt ([92.18.247.36]) by cmsmtp with ESMTPA id IXNOnrIuZgJWQIXNPnvlkR; Fri, 11 Feb 2022 15:58:23 +0100 X-SourceIP: 92.18.247.36 X-Authenticated-Sender: thomas.lauer@virgin.net X-Spam: 0 X-Authority: v=2.4 cv=FuEWQknq c=1 sm=1 tr=0 ts=6206798f cx=a_exe a=imxBPQlVU+n44PRBzwLWFw==:117 a=imxBPQlVU+n44PRBzwLWFw==:17 a=8nJEP1OIZ-IA:10 a=oGFeUVbbRNcA:10 a=gir0-LH0AAAA:8 a=D46BUdxs9ue8fEl-8ucA:9 a=wPNLvfGTeEIA:10 a=aLewGyoHDmJ4ULJHWpSz:22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virgin.net; s=meg.feb2017; t=1644591503; bh=rvgmSOJQsc3EEDPBEMR+K7+h4T/mJJehMe3Dmsty7Bw=; h=From:To:Cc:Subject:Date:References:In-Reply-To; b=KrI60qPjL6nm9243SSYTYlAbPnBnYxCPu7ixc3EVvdB3U/UxnssENEA3pZhz5GzGB SJKKTGiNJNrfSytM0hhullSXB+nEb0tnbwdm6OluvapYKIDJn1wY+4MdetgbNoMoS0 Qbeas10/4/QRMp1Pw3dhgI0koCO+y7msd6M7ichhlbkqxRtMgkMYYoRHLh3zAgtfMX 01eX49R+gHdR8iHW7//rT4jH9GGUWMPe7xtMOj2rFw5d88Wc5w4I3J2qeiCeMvYMoL aYznUnvZ9Dl2gFP4ShzbnKw5116DtATDkPVUBXUe9B+5WvAtQzd0gG1TjWzE+1D8XG n8GYdVw7t++dw== From: Thomas Lauer To: Ray Andrews Cc: zsh-users@zsh.org Subject: Re: zsh function breaks after error Date: Fri, 11 Feb 2022 14:58:01 +0000 Organization: TL Message-ID: References: <0oea0h1nt14oll0drq3450vng70ro0ga43@tlc.com> <44fac8cb-589a-37cf-49b5-47d8836a3647@eastlink.ca> In-Reply-To: <44fac8cb-589a-37cf-49b5-47d8836a3647@eastlink.ca> User-Agent: ForteAgent/7.00.32.1200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4xfBJ9NSzhFRz0ys7SizV/5zOy72d5MXCoTXnshqlvpTBS0LTgGRvYaCogM1A42Ur91F+HTe5R2iZ6lfGRsEe/U77bfFCcFajt59jjWO6EYAg6VIXEcMXl ayFFdhWptBgBleiAuBDCplKTgKL/k7D7+neI/mJaUSOkrW/iaaREvHP31770TeXrrowVrs6uTrlUwQiMUGalLg0ZYND/PKqMOyoC1BwWiDBBR3swRxQChCvK X-Seq: 27511 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: > From: Ray Andrews > On 2022-02-10 09:20, Thomas Lauer wrote: > > > > (there are so many > > options there that I have no idea when or even why I did include = this). > > > When I first got involved I learned to turn absolutely everything=20 > 'config' off except for my one and only .zshrc file so that I'd at = least=20 > know where to look if things went strange.=A0 Then I picked a sample=20 > .zshrc on faith off the internet and slowly by trial and error figured=20 > out what half of it does.=A0 The other half is still a mystery, mostly = the=20 > 'complete completer completion completing' stuff -- and I get the=20 > feeling no one really understands it fully anyway. Like=A0 with = everything=20 > else, the docs assume you are already an expert.=A0 But a beginner's = guide=20 > to configuration would have sure been nice.=A0 I bitched about this a=20 > little bit: the setup utility should offer you several config options=20 > complete with a brief description of what each one offers.=A0 Mind, I = was=20 > coming from DOS whereas most zsh converts are already shell experts, so= =20 > my culture shock was much worse than for most. Well... I tend to know what I am doing and I think (or thought) that all the options in my .zshrc are there for a reason. I literally went through the options documentation one by one over a few days, looked into each option and (tried to understand and) decide whether it was a Good (tm) thing or not. For most options this worked pretty well, but there were a few which were then over my head (probably some still are). But I agree that the density of the documentation can be a problem, especially for people who are no developers and are perhaps not used to dense docs :-) I'm a Windows refugee as well but over there I've used a command processor called Take Command (the former 4NT) for decades and so I was already used to a powerful and complex beast of a shell. And yes, the completion still is mostly a mystery but with judicious use of Google, Stackexchange, Reddit etc etc and a lot of trial and error I have cobbled together something that works pretty much as I want. Actually it was the completion that convinced me to drop bash and start using zsh. But if there ever was a case of YMMV *and* RTFM then zsh must be it:-) Tom