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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21733 invoked from network); 25 Aug 2023 16:08:20 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 25 Aug 2023 16:08:20 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1692979700; b=INC6F+cv2jHjsOgt7BUn0GQCsf8NTX3lQvFGslmqalY7Qusd/O7OIUYvvy0lm+o7MdEfO7OG0b 8SEux6kAU9qpGWe7lRe3jvBmoZMM5pf66OMODTnK3R5SJl8sAqeeQqqCKRemJESHyL2fJzepvZ 18NVsqlfWq9gFPu+gTpUYndG74VIPEdf/acjfSdkbA9Vi2uTRxBgh3xlJWogMIeBmZoalKMi2h p5oImzKnQubW81VXj33902NiWP5/1ETCVc85ffLbErtWkj4dFLh9jrA/l9hvu59mRACEAc2q6O YqQvRJtFd97D9j5xS6WK7OkQ4Vkl/ItOUQ9nqU+0B7jfpQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd00013-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.13; dmarc=none header.from=kba.biglobe.ne.jp; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1692979700; bh=YUuP4g6NZtfRa4pZYP5nYzsGrLNo5Ew5YAg0tmlh2Ho=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Message-ID:In-Reply-To:To:References:Date:Subject: MIME-Version:Content-Transfer-Encoding:Content-Type:From:DKIM-Signature; b=ql0oBWrRUkEihZ6+yz8h7vFIXdAWAPjN4b8wH2TbCNaixoiOOTY1U4Ni9dEtF6s9V48RdlEJG7 Lh6ODnWNnEnLuvHlNDaBAJcZGK3G2vqP33LbJjZbX9JcnlIVAhEaHmoMVWMrxvwx0ZJBRfHiQZ u4Sw2MKAc+aWENy1GH3FNjSc4h0ZWk5TRu0uosP/zX6wYtrLhif/DPq46O/oNhpCRwVCm/Vf+J ++Eu4PP+OqXL8urZWmZoh32ObDBiBG+k12ZLIWIRDkghZLfi2XqQZ/YcZzhPt9qJcVj6TV2umG 6weVrTZrvmGJa9mH9E6uvlhEdC6K+rC5Y2FAbmcFP9K+Og==; 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:Message-Id:In-Reply-To:To:References: Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=klyDBn6vlXPICGRif9+yNmsYSGzveqoeT8pgwwOFAnE=; b=IGmiweX2ev7dS3d8rcNSoBd0Kj 9eDE4IJjOIDyZ5emE/tLoZwnE+zqvKMxqxqTROfGr0CGe6opvFt6jFe1OLhmql8Kh338nkdNbzytM HglYFByrve525eEs99CuI0dmk1UNnwDz+N/G0Z2PDV+rx2co+GC3OXXHs1wZwu2vniSTC/GyrFFlF Lr4SZbJf8kBV6IiCQn5HXHEOr0zGM3Isk7txRn0Tq9Bca8f12YmG+w8YmsuLUMDm06W62E1s6JPAf ZkDPe+xfMDiHnTh/AUmhPSzLkq/LWaKBQ5lD2FJA7qLISz+wvKJjLIu9f+18f4DS/wgrKb1t2e3za olFs1HXA==; Received: by zero.zsh.org with local id 1qZZMC-000GWu-3o; Fri, 25 Aug 2023 16:08:20 +0000 Authentication-Results: zsh.org; iprev=pass (snd00013-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.13; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd00013-bg.im.kddi.ne.jp ([27.86.113.13]:34369 helo=dfmta0005.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1qZZLv-000GDc-93; Fri, 25 Aug 2023 16:08:05 +0000 Received: from mail.biglobe.ne.jp by omta0005.biglobe.ne.jp with ESMTP id <20230825160758520.LEVJ.71968.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Sat, 26 Aug 2023 01:07:58 +0900 From: "Jun. T" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Subject: Re: [PATCH 4/4] Update open completion Date: Sat, 26 Aug 2023 01:07:57 +0900 References: <20230823040004.171642-1-syohex@gmail.com> <20230823040004.171642-5-syohex@gmail.com> To: zsh-workers@zsh.org In-Reply-To: <20230823040004.171642-5-syohex@gmail.com> Message-Id: <222B1079-F657-4344-BBBF-68A29F28B402@kba.biglobe.ne.jp> X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 52097 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: > 2023/08/23 13:00, Shohei YOSHIDA wrote: > + '*--env[add the environment variable of the launched = application]:env value' \ You can complete parameter names by using _parameters (although it may not be so useful here). To complete only exported parameters: _parameters -g "*export*" See the description of _parameters in 'man zshcompsys'. # -g "*export*" may be too restrictive, but I feel it is enough. The manpage (for _parameters) also says: 'All other arguments are passed to the compadd builtin.' So you can pass the options -qS=3D to compadd by: '*--env[add variable to the environment of the launched = application]:environment variable:_parameters -g "*export*" -qS=3D' # -qS=3D is to add a '=3D' after the parameter name, but remove # the '=3D' if user types a space. Could you please post the revised versions of _system_profiler, _sw_vers, _otool and _open?=