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=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19946 invoked from network); 31 Aug 2022 09:29:31 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 31 Aug 2022 09:29:31 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1661938172; b=JODW4ih0kFj4DeFWmAfPQRhGslGGmNooByhhjpQ+7ZyheaX7ySWLzavEyarA1QN+d9IkOUwZgG 3jBTc9U9FbsmzTSfMdEDkqzj86fVcfDk5snf9yMgG6Otr0pVBUWxQZxFn+G8Umkoz7SC5YT8ms C7p7QWCATnYtUyZ5kkRAb/ZPwCdAo0BHvkqYMt4g6Xsj+jOjrC6GLfMg6KAIlByCnzxCXqmm0d zUPIUbAatUU06w07nwvUbYPtScrfEAI3bGyy58hb3PgBNWbQTqmyCu3mEbmN6xg5sMJMP3awZx hlnydxXiWtuvSQsiIBXrubf1n7u7ssRnFwkapxLnWuPZZQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1661938172; bh=vJUfi0v8YgtHkiQNG6W/MMmbw2qjqCTauGAKyO021WY=; 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; b=A7tptPahftF1Jv6oTNNB8CSwPQJnROJ1sbYUONUNp5u5sRksbCpw9bPMFY9yKrmK/x9i+o1x1w GLkl56TUme7yWwxp7+yDAhsPoDmnSCpJoozNQq4isqSI2FMciI9PBjfOI30ER4fODDtPb6be5Q Kr/V4Q6upoK0IuwYmq/GsbShhL15wkCdndNf+69RamjZnIVkIy7di4Carsw0eGKZnp7tybglkp Qx/NZun+TvECrO4El0ihJQLXpvQ03/BAQwMK6dLPW8FczXLD1oh6LpiNFhFzid/qr4c75f8kjw luMNs+8RifXWSY5znGLWVW5yVDln6rXbr3lBrhKScbyYtg==; 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=YUx+F2XudgwIf7G5CFPzZqDpM5jrydY++nPwS4eRM98=; b=lq8rkuCdIS5O0nZQKjx9YTU3Pg XukF8C1VRStHMVgTxNy1ty+Iy9VfuzRHitf1kWo+8ErjvNp5Xy7pslfaofWdF6elVjDpUInN3u6h1 F/uVFeevMms3Ztjqw0epl4qqMrTYijdQxLRYrUezzbpuooTg9uNTsu0jBs+3nJOOTwKOQvBcHG8qi EiasTfkveSjdwd9a/8cO7pQROLvMh4T3TcAhF0zxFc4EZP+e5FSHnl9ajD2uPLRp/v5FXI2/+5A0D 6HQ0savrV8bK+o/EI3CkdDOWVpKJQud5E9DfMnURqF8snabjLTE5422jJZgBAI0bqT2ZRvtaG461/ m2wQE/WQ==; Received: from authenticated user by zero.zsh.org with local id 1oTK2M-0003Bt-9c; Wed, 31 Aug 2022 09:29:30 +0000 Authentication-Results: zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none Received: from joooj.vinc17.net ([155.133.131.76]:53096) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oTK1Q-0002V2-OQ; Wed, 31 Aug 2022 09:28:33 +0000 Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id 922FC274; Wed, 31 Aug 2022 11:28:31 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id 6EFA52800226; Wed, 31 Aug 2022 11:28:31 +0200 (CEST) Date: Wed, 31 Aug 2022 11:28:31 +0200 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: Most minimal configuration challenge Message-ID: <20220831092831.GA992100@zira.vinc17.org> Mail-Followup-To: zsh-users@zsh.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9116efd4-7c88-4ea3-9601-9c522236fee7@www.fastmail.com> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.2.7+32 (d84696f2) vl-149028 (2022-08-22) X-Seq: 28018 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-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. :-) -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)