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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31276 invoked from network); 8 Apr 2023 17:55:06 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Apr 2023 17:55:06 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1680976506; b=MALzs3Q594fae4FfvkDT5OBH6o/5FFvgoBT2yxLyjdx8y8r6fGP8bcqXZwvSU8wNZ9rPI898b9 C8bKTk5/n+E/1J7yN9sclGQcrxbE1+q+Tc3bAnVSqFId1LIyAZ/+YvYH/ih6qHIV5JbwnHNQfR yg6fTJxK/0e38Pf/V6xCTyUk+FyIn5G8S9CMe4itNI3yna8xWXHeauyhn8lSkixe6uLcYSXd8e u70kton5AzBYQRd1UUSBcf1RwDJUPrh2JCt5KTAwx9zcwAecAd3IYpZ91Gtwrz2R/wMH6Q4iq2 1t51U+fLDiKR3GLejCox6ZmIEo26oxDxD6+wZfiEnAKMOA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; 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=1680976506; bh=n85La4TJq39PTU80lgaGCegt9DMmBWY05VohFS24ATo=; 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=sGaooEA+fXmPr/r/SQcO6d4jsLm9BXsgIZX8apddVhEDa19cUT7uPNNOPOtB4R1xeez1ADAnMt QmkhwP/7p1aGv3JuVXP6G3++ECOCkDUutgmovdyvIaFLpIyGrQKXgzSbWmyyJbSTFQdJO4WkJE JpcSZEzAA1ekBR1l8c1abJjkXOXAq0jCNUUVLUu+IVoIHeW3h07mMhPRNPEuVWggwBvB761gKq QpTDF27pEbNBK3BI8zCXFzdE+y8lQeEc34TSZhwTMLfXXFRHDCRpEDYWKf0Hrrefyyqg2mApLM 0WPcTA0gu94CzuSN3w7QSi6/BIfoLo9qqFzNVfrWtZGL7g==; 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=eL858bv/3z+qSdSDQJ6f4PtHN290GWcGIVwn5CF6bz4=; b=WYyQM5P2mV6+SGkxHYDbb77c0V Ralbj7Ic8w75y/GVe+i1IWDy/1fG4lR7HzyJY1Y4oEg/GBOuFYlTfYwLtNd+EqoKU01IjVmsizQ10 6xHFD94ZmcXmDZyuARtmvyhfR63Uvv3zODHNMDFBhnUrkjMeEqUN8HpTaNyMX9385JJDoHjefZERd mAISt8W/OqoL2hrd+0V4KwvKMEcbwpmiHHQlDtjzQ4grMufbDHduPaMBd2VBuDctDSsuw0UirAm56 LDJ/ijca7QR2tTy4Y9A7jQAdyO3E7gSQxQUl+/oQqGwIsAL1GOL8otkqQPosFJj0w6P0j6wfOzngE SLPKcylQ==; Received: by zero.zsh.org with local id 1plCmI-00048Z-3Q; Sat, 08 Apr 2023 17:55:06 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:49979) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1plCll-0003Px-2W; Sat, 08 Apr 2023 17:54:34 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta03.eastlink.ca ([24.224.136.9]) with ESMTPS id <0RST009DB5AC2S40@mta03.eastlink.ca> for zsh-users@zsh.org; Sat, 08 Apr 2023 14:54:32 -0300 (ADT) Received: from [192.168.0.4] (host-24-207-18-108.public.eastlink.ca [24.207.18.108]) by csp01.eastlink.ca ([71.7.199.166]) with ESMTPSA id lCljpzz6PcwgBlCljpHllS (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Sat, 08 Apr 2023 14:54:32 -0300 X-Authority-Analysis: v=2.4 cv=NeEglUP4 c=1 sm=1 tr=0 ts=6431aa58 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=RmP1bGUEb2PTM_APY9cA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejjedguddvtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrdegngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: Date: Sat, 8 Apr 2023 10:54:31 -0700 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: .zsh_history Content-language: en-US To: zsh-users@zsh.org References: <81609CF4-42DA-4E0F-A6E5-C5D58578B4F7@easesoftware.com> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 29015 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 2023-04-08 10:27, Roman Perepelitsa wrote: > > Perry's options (which I've quoted in my original reply) require him > to exit zsh before history is written. I do remember that one's control of history is essentially perfect, you can get just about anything you want.  History is one of those features of zsh that is tractable and understandable without too much head scratching and without any weird gotchas. Only thing missing IIRC is being able to pull apart: "$ echo command one; echo command two; echo command three" into it's constituent commands.