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,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17584 invoked from network); 2 Sep 2022 09:41:17 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Sep 2022 09:41:17 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1662111677; b=QzUhVNs3EjE2Vw9qlkJp2JtZepa8ka5ec3vDnizcdpyuiAZMkdxQKl6DWwxNm6JjlH/cEFFXsw IzR6e5HV9j0z/UVCO7WALcmtlrZ55it/HBpp7GkUbJR29pxhrIggG6CA/av1LY1Z7BPvWRXD0j DGmcuATNAyPHjNi5YFiVD+EyNfsU0qv87Is4wTqUDZJFO7bL6jAcg85O+CgLndm0+8gDYODgGK gMoIrXagNL0eZEUCtcqLlHOQrvEASqb0xMzvQIafnbubhphq+bfwElDPNvfq9tLo83FdDvh9kZ LhywUasHvDj80HyTHurhJl0K46V0+u08RpDlm4d4c2/bKg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (wout4-smtp.messagingengine.com) smtp.remote-ip=64.147.123.20; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1662111677; bh=UznIzLFznUYgS4PwaWGfi9pZBQ4xT2/4sxD72M2yR7Y=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=rXUrIEUMFQ/itpFXOBObb7/ssZMP/NSeyz9vBo8KCbhvjSDIU/uB5AkN60klRWbuwkuuhbhog/ AgYU2sczxpAJshdh5FWKnbhjC1iEJox5DD2B9SmUheBo+uctANiikQ6bVur+JRv8iLJSzNlIqm Cm9HrO/f6Y/vo5cjO4LiDqc7A9gXgBhYG+ZjRHEQl/iv3f3Vp4uGgkxrfeCWZ+VdX2/iP+L32k o/Kn9KLNPgPV2RenH9IqhoqyYq94um4PnhQeHjSGUGgiRi+S4AjhD8c/Pw9qcHzcPCZOIPd4xp aaRiuVxxwcVNPlSth2F3mlc3cSHCN+tQ9jdb45QtEaZJiQ==; 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:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=IF5/Ec/hDXydE04j/zPHXulWnDohoLoFfViOv8DMXGw=; b=UO9NMTQwzrCJlaOkuNBN2B/PQ+ puPJ7tuzQq/5HTQf0FzfXsnl2m/iGvK53GD+mw7m0s3iFuUrQN7UfeDMIGK5iwtC+XeqJLpzrkDEy YLVueIOunxLHOba7irLuUuF/uLtvgHqQ3oQunWW9zvTAG/Y4bpYSPodSfgT0PwC0wBdjE85CkUXdE 9JT3Q6RJD2MSgORIAoGwLSabkRG5dTrduY/36vhCrJYJkj9sTZysh5mgx11LUdRmV66y3T54XdJw6 PAheBisUHGNYauXNOIguw/dIxj5BQMQhza0Kffke/VOiNafVma4tgIR5m3k+yeWsJN/3QoG6jz9o8 0R7NVtmg==; Received: from authenticated user by zero.zsh.org with local id 1oU3Ar-000O9X-GE; Fri, 02 Sep 2022 09:41:17 +0000 Authentication-Results: zsh.org; iprev=pass (wout4-smtp.messagingengine.com) smtp.remote-ip=64.147.123.20; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:47985) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oU2wm-000MVz-IB; Fri, 02 Sep 2022 09:26:45 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 000EA32009E4; Fri, 2 Sep 2022 05:26:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 02 Sep 2022 05:26:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm3; t=1662110802; x=1662197202; bh=IF5/Ec/hDXydE04j/zPHXulWn DohoLoFfViOv8DMXGw=; b=WB07smBV0x5I1nBk80Kl7bcB1cUprrNk3NG8CFozk CzidYrK7KMWJ6Eynoq+kSq04v6IuLOVvpXAHCw83clF0XwyygV1psMy4cRfH3nYx QtuuzF3b/Mo9IgQgBn1u7rvpdo+1qSzUCl7w+7UY2oSbatYEQ6vIETUeBHdu/z5l 6rsnLT/LY5+uON+s6OOyRWW59kubYo05nkGAI0a9Y21aTgIub2kxDijEPcp//UPd WOR0rmwBrusF6Zd72JUwwRa5YNONx9Y6Tc8nKFA7ePfcfXvOEjOsjeST6R/Iuc8Z +QEiRndlLzwbL9qbH5LqB53EVtALXuN2rMlRy5T9QsKGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1662110802; x=1662197202; bh=I F5/Ec/hDXydE04j/zPHXulWnDohoLoFfViOv8DMXGw=; b=3cLlFlwL7f0J+nYlp p4YmXoQ8ToOnntWDEyHD79Klfne3LfEWDMqZWsPK/9dPUlBs/LK2XrxtrJActUCs l8eKhps3ej3BqRWSpRhmG3ji+Fy8M5JaEz6uq1cQ5r00bvKcHe2u6vsceDPHJQCy Y8ndIna2LFZOlyOHy0yQfaUjc+MItjJhY/XyZLB1E9chG4/peCBhCTurdMz8j4Uc 5fBX+P5o0iyzlDvmNnELUpQuUeWtbHnAjQ/cLhiYqiJtJmn2WEMafr4nb6zMATLT Y6/6pfLqW3LVrGMXDjTzD49+KemIFEn0Ot7Xjzv8ALunrD5iFFTq9j/+EExUzsmW jjcIQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeltddgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggugfgjfgesth ektddttderjeenucfhrhhomhepffgrnhhivghlucfuhhgrhhgrfhcuoegurdhssegurghn ihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhepgfekgfefjefgvd dvgfdutdelleekvdefteeitdduhfevveevudfhvdevfeefvdeunecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhshh grhhgrfhdrnhgrmhgv X-ME-Proxy: Feedback-ID: i425e4195:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 2 Sep 2022 05:26:42 -0400 (EDT) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1000) id 4MJsxD36Shz3Kk; Fri, 2 Sep 2022 09:26:40 +0000 (UTC) Date: Fri, 2 Sep 2022 09:26:40 +0000 From: Daniel Shahaf To: zsh-users@zsh.org Subject: Re: Most minimal configuration challenge Message-ID: <20220902092640.GJ5920@tarpaulin.shahaf.local2> References: <0e8bc96d-17a7-4be2-afab-7a0fd827866f@www.fastmail.com> <5141de6b-dbee-4d4b-3b74-d95a671fa04e@luffy.cx> <33d0bd1a-4da7-416d-a92a-04ceb07d1107@www.fastmail.com> <1c9b6072-26e7-467e-b8cc-7d44f15eaf1b@www.fastmail.com> <9116efd4-7c88-4ea3-9601-9c522236fee7@www.fastmail.com> <20220831092831.GA992100@zira.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220831092831.GA992100@zira.vinc17.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 28029 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: Vincent Lefevre wrote on Wed, Aug 31, 2022 at 11:28:31 +0200: > On 2022-08-28 18:29:27 +0000, Daniel Shahaf wrote: > > Ray Andrews wrote on Sun, 28 Aug 2022 13:59 +00:00: > > >> Sounds like you need a test suite for your zshrc. > > > Sometimes it's a guess what some change might do, one does not even > > > know what to expect. Particularly the 'completion' stuff is baffling. > > > Here's mine, it sorta works but I despair at understanding the syntax: > > > > zstyle has been explained multiple times in the past so you might want > > to look those up and ask about parts that are unclear to you. > > > > In short, «zstyle ':foo:bar:*:baz' key v1 v2» translates as "When > > library foo asks for the value of key in a situation of the form > > bar:*:baz, tell it the answer is «v1 v2»". > > Perhaps there should be a zsh function that translates a zstyle line > to plain English. :-) What do you have in mind, exactly? It'd be pretty easy to write something that, say, runs «zstyle -L» and applies the sh-to-English mechanical transformation I did above. That's just a compiler…