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 22245 invoked from network); 11 Feb 2022 16:20:54 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Feb 2022 16:20:54 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1644596454; b=K28jeD2RxQj9vH0rDCHbK77AiJOKj30KAzC03pzHavTwJa/lUjokKsu9FsqQDeCG8SbONYhSGb 9EFcaTgBLy1RVhUscox5cw+rIMTWSsbTMCw5ohGf2rUvCsxhEalWcgbUUQji11nwMywN35NyTy 3WTK0+txr8CVLPelyMWCjkSEoE3s+7mXnGX2a8fAFx/Frrc+RqXZijsEjx26XAZCKj+kEyTxth z9AVuopVbsHkYCNb5JajtWEk1sgpDmZJvUBhVJcPEv/vGHLRFq8g8tCFq3gb7T9obcFSGXd4Rz 0mxcamMyvpikv1FNP3jkgKwra9XXo/IED4z83utQw5Oszw==; 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=1644596454; bh=a2Jq8IU5ojDXiqz/ktsle1BTxcNT9XO50dIrDXf57ck=; 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=JLssRAKPH+3ckTPvvroG8+LPeUzwxYUfXaBzTBZvzHImEPqLg/f3bIAhRbF2xyCYCopLqix4+T sg5of5HpL6HVL5Sv/u/Opo78Cf88+3FK9aFIm+i2qiUwiAvYniflKPj9CsUm9IpQ0Kpx2phOmj zQOgScH1l6ITEWUp2OwwiZ7VNK60vom7PnZgNU+AQDvhB8YOk6DBaZ1a5ii8JpXxn3wg7vsNkt z6yY6ko3Dp6hX++VB5+HzhX1keVDLYhL4PIphr3+laG3wYXlRcEeStkwnEOTb0UBnVMKusA7Tr E8gUfwm6/q82SDIqAb3EZZ0yo9hx/GV3OiS6JveUji8ZEw==; 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=+tdGZhqgAL7OQn3ls3jxuoRJ4WDSeD68L5QKm03cFQQ=; b=E8OTxoH2oPtElZMotXX8s1AqYb tu2fWU7Kx/FL5m3GFnUhgmTps+GMLPalCyT+kXq0UC2qBh1eGYPsMs4ssr4nNzTkWNT4PoE1kI+zO vifdrLR6mrnFHZW0fu9jcQ30yMOQSrsNYP5o7Ug+VBYoWJ5DHIPhxaNugqZS9sX1sp4024K/oW9oq +e4kre8fw1rZ9zK9OVZUGTIwE9eMuPI0LV5fe//3SjkebacnyZA5jJo112kFEoANyIVx6LDjihbKZ Oom7Q48TIsuzYXuFk96sWfvh2I3qmOKdzPLWwD1Kg+3mwyfqu+dzgx4XgVd/y5FkIt67ZdqXqEMqo xu3nIaYg==; Received: from authenticated user by zero.zsh.org with local id 1nIYfG-000CDH-OB; Fri, 11 Feb 2022 16:20:54 +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]:60768) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1nIYKx-0009R3-2t; Fri, 11 Feb 2022 15:59:55 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta02.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0R7500IM5DHY4DX1@mta02.eastlink.ca> for zsh-users@zsh.org; Fri, 11 Feb 2022 11:59:53 -0400 (AST) Received: from [192.168.0.2] ([24.207.90.194]) by Eastlink with ESMTP id IYKunJfKDldlKIYKvnFq3O; Fri, 11 Feb 2022 11:59:53 -0400 X-Authority-Analysis: v=2.4 cv=NLwQR22g c=1 sm=1 tr=0 ts=620687f9 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=7FC1u0y0YeisFytKDJsA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrieefgdekvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrdeltddrudelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrledtrdduleegpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepuddprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Message-id: Date: Fri, 11 Feb 2022 07:59:52 -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> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 27513 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-11 06:58, Thomas Lauer wrote: > > 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 :-) You can say that  again.  It gets easier with exposure of course, but even now I'd say that zsh/unix/linux docs -- especially the old 'man pages' are often spectacularly badly written.  'Dense' might be a charitable way of putting it. > I'm a Windows refugee as well but over there I've used a command > processor called Take Command (the former 4NT) 4DOS and Take Command ruined me.  I got to just taking for granted that level of polished perfection and when I moved over here,  the culture shock nearly killed me. > but with judicious use > of Google, Stackexchange, Reddit etc etc and a lot of trial and error > Yeah, resources are out there if you just beat the bushes long enough.  Like Daniel's link above.  But how about if it were all collated and condensed and brought in-house? > This would certainly help but many things zsh are interconnected in a way that means that you have to understand something in order to understand something else... but to understand the first thing you have to understand the second Heck yes, which is why layering is a good idea. The newbie's 'introduction to zsh config' won't even attempt to tell you everything, it will merely get you to 90% of what might be your eventual, expert configuration, but hold you by the hand and get you there painlessly. 90% of what you want in 10% of the time it would otherwise have taken. Advanced wizards can devote years of study to mastering the remaining 10%. A sample line might have this sort of feel: HISTSIZE=SAVEHIST=20000 #Trust us, you want a big history recall buffer. If your machine is pathetically short of resources make it smaller.