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,NICE_REPLY_A,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25081 invoked from network); 12 Feb 2022 17:49:34 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 12 Feb 2022 17:49:34 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1644688174; b=lxw+Mif6R/89npWWeYVynDzcsFSXENv6tcuVrbLbcOE9u1248G9LQ0M3TFKtR9fTfXYXZm4bd0 wqGJ6d8UncPawnhf/LF+Hh8ygEVcN1piG289uBO03B9t4l0vB/KzQlyM9iW3URIE0LFDb8a0zc 26v3hJMVLRQBVwlQu0zxaM9ViZFKvFzhtnpD5qqu5weNlIt0FhSIKATdtAW4ZcJ5SyYtZ+UeiJ jYu9Cm8rLVLYkh93ThazXE17x5Eh4AKdYeo51cfhD+zCdwp7k6I/NA2GiUa4N2+s0n4Xg6+a6k nv3TH14Mj30tH7MeMsbdH8WJHhrfzOaNQ516ZbBDxgoEEg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1644688174; bh=6EJDhOu0CSnSRySBOzlCmIJvlAyZkNB/zReuPiVI42Y=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=J6xLsjBZx2YuzFaaHImLJ/SnOap8JtXdHajVsYPV7bIta2ZFMB40SBmCBGHenrc4wy8DyevO7t y6VvlGYrcHw4zcmEZTbmQI1lhDXsBA+DQKqJ6nIKqgLwe0LgowPzp9x8CTVZJ+fVh2km9ObrN8 ahTffRJ412g/QzsQbgvhCnNXUloSob7xe2NTaE/4rfh3l6jWpYmiZ3kdnA6YgSbcZR9HTpUbxV YVobKbhY6yrTxKKIVhsYax4hIyleUTxjEzJV261K91I0JmLjPIyeEPnCOan8funjHHXh7AEqFU 5fxRIaFLJ1ybja/rMouuLj7R2I8ZtNcbJ9gqHSqQIN7fmw==; 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:In-reply-to:From:References:To:Subject:MIME-version:Date: Message-id:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=fs/tAYEMddjj+1eOUKD6naKXENTnrffZji7uTkFosQU=; b=NLEeZ8gP0dd6R0qbWWwBCPVc/2 9elc35BlCTSI0R+x0vv7bpSt2Ciwz+cR079TKloc2nQJGAb9NdqL+XHtbc6s9fgudJK9uGMMdB/zc eL0erkXe7dyKEPVGTFCnivEDlJqzZ1WSUtGImoMshY4S3PFL9z4rivSxDeyKJxCWquyWVQOSrR4lM TEEuGmr+orekxsEkoyfLjByiZoOnn4O6SXalvrXb6O7E1cPz+TWzWiZIUkdHK4FAy+RVaSjb1i6WJ RrEolTHiQ0/H4d180/VJ1423Nh6n29Ou7HE+t8g9wCiAaKqJO79eiMkG4PnqtXD1SDFdP5Js0x8bl JPuV4/kQ==; Received: from authenticated user by zero.zsh.org with local id 1nIwWc-0004wp-MJ; Sat, 12 Feb 2022 17:49:34 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:44807) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1nIwVx-0004DV-J6; Sat, 12 Feb 2022 17:48:55 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta02.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0R77001AGDFYXWS0@mta02.eastlink.ca> for zsh-users@zsh.org; Sat, 12 Feb 2022 13:48:52 -0400 (AST) Received: from [192.168.0.2] ([24.207.90.194]) by Eastlink with ESMTP id IwVvniqfgxWDaIwVvnR5Vk; Sat, 12 Feb 2022 13:48:52 -0400 X-Authority-Analysis: v=2.4 cv=Z5EpoFdA c=1 sm=1 tr=0 ts=6207f304 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=GeSCscJN6ST_dckA3MUA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrieehgddutdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepiedtjeffvefgtdehgefgteekueeggeeitedutddvvdduteetffdvveelgfeukedunecukfhppedvgedrvddtjedrledtrdduleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdeltddrudelgedphhgvlhhopegludelvddrudeikedrtddrvdgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Message-id: <9d8f3fec-2402-a40e-394a-8d0270239c37@eastlink.ca> Date: Sat, 12 Feb 2022 09:48:51 -0800 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: zsh function breaks after error Content-language: en-US To: zsh-users@zsh.org References: <0oea0h1nt14oll0drq3450vng70ro0ga43@tlc.com> <44fac8cb-589a-37cf-49b5-47d8836a3647@eastlink.ca> <0lof0hlr1tmbrfipg2pu27o63od4d3ni0j@tlc.com> From: Ray Andrews In-reply-to: <0lof0hlr1tmbrfipg2pu27o63od4d3ni0j@tlc.com> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 27519 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 2022-02-12 08:45, Thomas Lauer wrote: > > Interesting. Take Command *was* (or is) powerful but IMO it's no match > for zsh. Indeed not.  Zsh is 'bigger' and more powerful in every way, but also less consistent. To some degree this is inevitable and quite forgivable.  Projects that grow by accretion must encounter this sort of thing and solutions are far from simple. I am with Bart on this one. Many so-called "defaults" in all sorts of > software, including zsh, are far removed from what I find reasonable (or > at least work-flow enhancing). The whole point of "optionising" features > is to give people choice. But with that comes of course a learning curve > and some responsibility for the choices one makes. Sure, so my notion of several different default configurations gives you several possible starting points, and then invites you and helps you to start customizing. The difference is that instead of starting from 'zero',  you're starting from one of a suite of configurations that are considered reasonable by real users.  And of course the 'zero option' would be there as well so all of the above can be ignored as desired.