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 4902 invoked from network); 10 Feb 2022 21:26:55 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Feb 2022 21:26:55 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1644528415; b=ngsLTim0o2GfRjDc1oClUiZdzpV0Zj7Rl6eOH/SF64947rrDaPN+YQIpI/KI+nkYIKgNeOjKeM jQ2bRYnO5iMvmxu0pzsoiyR4sQzqM9MzJDGx6A9p1sNJRNCGLucos1bf5DAtElcQk3PZUS3gXE 0u7TDDBhrbaRQMkohsNkgqQ1W3IRzqrFkMgQgXvdZWjuQ5uabxbkZh5vqHrApU7edi2dr/2Mfk 3exrOTbjzbhJBfNwisM+/Vx6CSuInsp14mOt5s+GmURIGpl4xC2Kiif9w1ecpRUwU/P1szIak8 fbnhHnPdNc1Dxf5xYJ8eBGUSkdKLeg+Wa/T3TGPZyT9HGg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; 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=1644528415; bh=hKvYXWw42PFQvLb4qPKw92ufPr+ZKudvDS2xHGc5lfk=; 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=R9onXIXf7MNG4KMarPMPQXxg0l2jE/8uBzfDSGglCAIMif/T9yo3P/wODiU36S3ViqQ/deHwbb NsraL2EMK4cP4dUyckY8fqmZ4od/FVlM3dtFPtSAGvcoDbK/vhaAqW1PbVJhsPlmSCo71/sDKu e+EfHH7qrLPwyXfKY/Zn23gm0on8bE3Epy+JHW+k1CWVwUoiBZlSOOoGdkTbhXS28Kv7LF9KB0 4QH5UryfOb9m+PR/AyJtC/jCHUAUDbCx9U0pjjsct4jq3FfI6oU79km5p9vBnQ0i3eNprB+eaD 6f1vl0s6aYQ+ry+2qscV/4C3/NHJ0jNnP2EypIBcKHQ5EA==; 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=rh/5d1QWTIHpj8hfpjA8nYjYetn3EhIlZ0C3fpav2AM=; b=Vr/mUS8mcIKrXd1yi8nPujqNMA nS1SUJ2sEPg3pdvPhq6bhTACiaMpMsVVSXWrvIna9wttNGbZFNE9ljLiInSdRuo5Isi/Ws0R0Y3YL 6wrvtDWjWHNogXY0fZ1bhWq7qThzB0jEy5qWnj+xBUYloq2nbWg94NHOqNV0j34f7qNmAjEXAp33d w4rVKWMe4m5hD89A4GUB3lvv4Ve/wOQ3CCPBsX9Ydye2gkzlCh7NtXKq+HQ6FVhuFs1kiTlLrwr3U a3hCmhLLA5YOZqw+s9nQLrs4PavpTfu0i7+s4e5gpXXPowCqyelWvQpVmFhPwRsY6hd7fW0oSxQv9 J93bPWuA==; Received: from authenticated user by zero.zsh.org with local id 1nIGxr-0000qt-En; Thu, 10 Feb 2022 21:26:55 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:47238) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1nIGx3-00007d-JV; Thu, 10 Feb 2022 21:26:05 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta04.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0R7300HT8QO9YA60@mta04.eastlink.ca> for zsh-users@zsh.org; Thu, 10 Feb 2022 17:26:03 -0400 (AST) Received: from [192.168.0.2] ([24.207.90.194]) by Eastlink with ESMTP id IGx1nHDn3ldlKIGx1nFG9s; Thu, 10 Feb 2022 17:26:03 -0400 X-Authority-Analysis: v=2.4 cv=NLwQR22g c=1 sm=1 tr=0 ts=620582eb a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=PdsIUxiRSasDM769-GIA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddriedugddugeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepiedtjeffvefgtdehgefgteekueeggeeitedutddvvdduteetffdvveelgfeukedunecukfhppedvgedrvddtjedrledtrdduleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdeltddrudelgedphhgvlhhopegludelvddrudeikedrtddrvdgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Message-id: <44fac8cb-589a-37cf-49b5-47d8836a3647@eastlink.ca> Date: Thu, 10 Feb 2022 13:26:02 -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> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 27506 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-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 'config' off except for my one and only .zshrc file so that I'd at least know where to look if things went strange.  Then I picked a sample .zshrc on faith off the internet and slowly by trial and error figured out what half of it does.  The other half is still a mystery, mostly the 'complete completer completion completing' stuff -- and I get the feeling no one really understands it fully anyway. Like  with everything else, the docs assume you are already an expert.  But a beginner's guide to configuration would have sure been nice.  I bitched about this a little bit: the setup utility should offer you several config options complete with a brief description of what each one offers.  Mind, I was coming from DOS whereas most zsh converts are already shell experts, so my culture shock was much worse than for most.