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 23522 invoked from network); 31 Mar 2022 15:25:53 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 31 Mar 2022 15:25:53 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1648740353; b=qg+DQAODgQ2qFoCo7xSC4QYFBF5zA8ZzTe+eQrJSb5CrKZW/GtgL8t0VJtl28gdLd+hhPvCI8i O/H/bRDHYqxmvmjji/lXR7HEqJXuiwXxAB8YCt8E1Mk5ryUs6PxSFxGSZRBj44pFbpdAkvzQc4 Ds2RsbZtUu2cl7KA5Zbv0EWh/ZXGEXKMXEiv7XWxTBWDXBL2o/Oo1tvra5aj6rUlkVvpmcRZAI heUgrCInGbMVkEiH75jM9WtvpnGAakRaUdaZHgpXqmbNqzAg33cvkJsNr14V8WiaQP4NJnOQ0W h8WIOFiI6bfNMIMMF4/MsyUo0y1iV0OJscc/X96iGGsvGA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd01014-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.30; 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=1648740353; bh=743TtACpMB0uuNoHYixsgBpUK9ZgWLwiusi87M3kVsI=; 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=Nfq78FyZDgFI8cvTrw5gRvnogFf/rUtUlgOMhSDVHe8KzC1YRRN3UIFJBROjN2aLmnEL4Q2mII DE7YRj0NaB6YaVFP/2RLnDiXmWwZTalpeAWTLxHRDgDydIyZhjjbqhmNuTrLWlpnwkYX22irDu QAw1JP++hhj72/V2eoSg4kc7DP19BkG99pNsy2FZT8PIQW86Ns19wEDeDv/ImCq/8rBNU6hsZ+ GY2UqY8aJt6syS5R1jnydauT0yTVQpKUmsHdljYxPYI7r9sj0S03Jw+AcBB4Nq5ENaMCAyXQ0U m6JldSVfgYesD+shRrGJh6aLtaLs/7GHiLTjWQPxExRu7g==; 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=8by8DXOY5YhiD8di+KoN8sGx2OQu13wT3lgbYqdtYMI=; b=PBaz8rAT0cXoWBIhvuOqTAXLKw NQVNt1OZitOojtNoL4Cg+uG8WAFimh+MqqdieBUetHMN4/G1nq9wug8hqFn5nvZjX5KcxwSjAFYJw pT7+jcJpLVohKW6A75uXFVw812cU6FIs6SaAQpKCA+YloBasDuBJ5Wv/AP25bLKtY39euv602wOMK yV3JTe4jMPwFGqVqImxJS4yVNKm8oDlsW6Aqrz+1IKSexJbydV/+B5PMx6LtTnKyeqX0AqzFQII/0 PNHpOyG8m4CaszPwDeRjqTzqGTXztxCRdt/Yoo55YYszq70Mvoa2WAeRDARCS3yr+lT7bF6Z7cVSO fmedzjkw==; Received: from authenticated user by zero.zsh.org with local id 1nZwgJ-000O38-M2; Thu, 31 Mar 2022 15:25:51 +0000 Authentication-Results: zsh.org; iprev=pass (snd01014-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.30; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd01014-bg.im.kddi.ne.jp ([27.86.113.30]:48609 helo=dfmta1002.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1nZwg1-000Nge-1l; Thu, 31 Mar 2022 15:25:35 +0000 Received: from mail.biglobe.ne.jp by omta1002.biglobe.ne.jp with ESMTP id <20220331152526168.HDQI.50468.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Fri, 1 Apr 2022 00:25:26 +0900 From: "Jun. T" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Subject: Re: _time_zone gives me candidates other than timezones Date: Fri, 1 Apr 2022 00:25:24 +0900 References: <875yo3b3ka.fsf@smokey> To: zsh-workers@zsh.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3693.60.0.1.1) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 49943 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: > 2022/03/30 9:12, Aaron Schrab wrote: >=20 > While I don't think I've ever really needed to use zoneinfo entries = from those directories, I'd certainly prefer they be offered for = completion. How about this? diff --git a/Completion/Unix/Type/_time_zone = b/Completion/Unix/Type/_time_zone index cd924bbc7..c437252a8 100644 --- a/Completion/Unix/Type/_time_zone +++ b/Completion/Unix/Type/_time_zone @@ -6,4 +6,4 @@ if (( ! $+_zoneinfo_dirs )); then _zoneinfo_dirs=3D( = /usr/{share,lib,share/lib}/{zoneinfo*,locale/TZ}(/) ) fi =20 -_wanted time-zones expl 'time zone' _files -W _zoneinfo_dirs "$@" - +_wanted time-zones expl 'time zone' _files -g '[A-Z]*' -W = _zoneinfo_dirs "$@" -