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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 15320 invoked from network); 27 May 2022 13:01:56 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 27 May 2022 13:01:56 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1653656516; b=MLqs0RLo12LcyUA15gpPshBoiNmJCeRWss+H8nrfd63xo0PG2jdhcGXFfieSyzSKSKWSaqB1Gw Mp58jx4UpkT+Zxl/ZF4E7+ySM8i6aNqeb5Aq6kKwiolMmPJd9+4tEpv4aXRMiHIpxX+Q4PMQ/E kn1u7dIzOECkXOAZ3I5Bfnv1b70gJBOSuFqr5D+Jn/RuDOnTiENNdss9gwEOjordwL44OhDmyu SNi/vr9XZfDjj2Z+n+8CgAG9gc58+o2ik1FMoCZj/rKmHOPtWiJrnBxef2ZkfKO6VzxwBZ0Yen kafTAbJAaNn4VuBRQJy23ryfwUPlTUkeUpgCwzkI0J7f0w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1653656516; bh=noRStuLCAh5cF0VzqUoFkzgBEtLdm7gMLHrLA8//Y8M=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=dT8L9LaTBS0gFym86JsstsunzCt7wGgw4okMeaskbk0cPfeAC2otS0l7+/g8NEWjN8CTJvhXvV fNk80l4w6shY3MQgzVJcdDRAGRk4PZk4p+k2b4idl8RUMszUcOY9Sc2M+A2+qhZIQ/1VqYbByy F5oYc1KyfT2O7Qb7BzMMl4AHozJd/9AaD+bnMkpxHXYj3VaQaQ4wbkkcL/fnBTgXBfm1vzwdr/ pGfSYih96JlmaOCGz42TB3IDSW1wmg56Rsf76DqYkBNza6pY2qqQDusBEYhvy+dCxBhiMzbs5e IASIqJp1aYN6iri2xqfN21xwZy+QHtDUII0VEIXov8rXWQ==; 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:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=PvHc3MlcR0N2REjNWkD5MNdqLm5FfeqPolqg6UYu8mI=; b=dVzSJCmFNNganpQtPWAMc7smNy sRMf5emeh5Mg0MEUsTbYSghLLdZWBEc+OHVdKi/ckDa6298lB/uxsgIPP2dB84oynULy8dwYaxKmE IEY7bZ8F7Kuua1GlojnBRxnkmBXcIFzwmOoAaH1VmiKWzjefV1yqSF0R4lfA8WivaXrEuc3BskJTE vh0S+wn++77Pkx87CQtAepGd1bFW3c3hSCfjzniIVFWfNW7/rvNk9wzvKZ+Kx7orMhx1kMIfNu9LE bZQZ9MQPZEMHYJ18vjgqC3qWvfoBxAXAY1bBcze6B39L4U6Z9i6CwKZysPxWltblmwj+3T1ui+82/ 8ZShG4ag==; Received: from authenticated user by zero.zsh.org with local id 1nuZbH-000P8T-L0; Fri, 27 May 2022 13:01:55 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq2.tb.ukmail.iss.as9143.net ([212.54.57.97]:59098) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1nuZab-000ORU-Rw; Fri, 27 May 2022 13:01:16 +0000 Received: from [212.54.57.80] (helo=smtp1.tb.ukmail.iss.as9143.net) by smtpq2.tb.ukmail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1nuZab-0001Ix-Ch for zsh-users@zsh.org; Fri, 27 May 2022 15:01:13 +0200 Received: from oxbe13.tb.ukmail.iss.as9143.net ([172.25.160.144]) by smtp1.tb.ukmail.iss.as9143.net with ESMTP id uZabn8zBQVu5XuZabnlWnj; Fri, 27 May 2022 15:01:13 +0200 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-users@zsh.org X-SourceIP: 172.25.160.144 X-CNFS-Analysis: v=2.4 cv=LNR1/ba9 c=1 sm=1 tr=0 ts=6290cb99 cx=a_exe a=wuFMYA7voKp1dZz7Z+vj5Q==:117 a=I_Av47A-8eYA:10 a=IkcTkHD0fZMA:10 a=vinPr5In5y8A:10 a=pGLkceISAAAA:8 a=Ph2vzx1KjsJsjxtyH2EA:9 a=QEXdDO2ut3YA:10 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1653656473; bh=noRStuLCAh5cF0VzqUoFkzgBEtLdm7gMLHrLA8//Y8M=; h=Date:From:To:In-Reply-To:References:Subject; b=CclHW4ij4UAL91Apmu75ZogjCmYWiRlkSXN6/Fuu/L90KPSESj8sSfSxhF1v5dSth zfOOQO6B0bGLD9RmaEFO5/DRbab8Rq1O3jwj267g2brjLvXqQodZ6U9Q0yqGWggC/h srJgYd4gopRwOK34M7s1Hbc/3ILNkLEk9I51C7A1s1wiJIgxrvLaVCA0gqu0qsQQ1g 8HzxPAdz1bPUQZ4lO0dSC5eAOajZr6s1nui6/28V4tDBcXQbVdmi5nbN4eq898nhVK wA4Q+7+LwIVq6zOWpn7JnDeo8d73hxtngDuGgfbWWxRTodf7SzniaibmZFREiEBkhI D7MvrNDAdZN9w== Date: Fri, 27 May 2022 14:01:13 +0100 (BST) From: Peter Stephenson To: zsh-users@zsh.org Message-ID: <361201244.437080.1653656473288@mail2.virginmedia.com> In-Reply-To: <423ac4eb-9075-4ba2-bc26-51402681619b@www.fastmail.com> References: <1159735190.430174.1653645175258@mail2.virginmedia.com> <423ac4eb-9075-4ba2-bc26-51402681619b@www.fastmail.com> Subject: Re: What is the _services array? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev72 X-Originating-IP: 165.225.17.146 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfFz7R3mPmOn2rDlQmUmsipWz8vCJn3taP5ef3Zr3m6++BLrDEEVv8XL672J03c4JwjMONpGgkgQ086TKARIpXoC+FksL2ofql3kLhb7Cgnp7au+7VGp8 LoUO+Gt0ET4yG44HTWCvW9WCxUUBUe9jHYLnfS5CmqLKS/dRw33ZcBx8TbgSC8rcJ/4UJf/eL1x4UFb8NwFp0/66+sec71vDgR1zt4I0o85WrJIKfezYQ0/N X-Seq: 27816 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 27 May 2022 at 13:45 Daniel Shahaf wrote: > Peter Stephenson wrote on Fri, 27 May 2022 09:52 +00:00: > >> On 27 May 2022 at 10:09 Zach Riggle wrote: > >> I recently found the _services array by playing around with "typeset -H" > >> and there's some neat stuff in here, I'm just not sure what it's for or how > >> to make use of it. > >> > >> Any ideas? > > > > This is the backend DB for the feature described in the zshcompsys manual > > in the paragraph that starts > > > > "Each name may also be of the form `cmd=service'. " > > > > You should be able to be configure it by the means noted there. > > It's not documented, though, which means it's liable to change > incompatibly without notice. If that's not the case, then we should > document that function :) My inclination would be that if Zach finds things he can do with _services that aren't part of the existing interface, we should probably extend the interface rather than expose the implementation detail. But, of course, it's horse for courses. pws