From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18933 invoked by alias); 9 Jul 2015 12:29:18 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35749 Received: (qmail 12957 invoked from network); 9 Jul 2015 12:29:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1436444551; bh=rLNoHVNRw+7Ey5ojYRjpnOOib2CC8h5CfdeaUHIJCQg=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=PPLxNJJlq6Sg/vt/Lxl3K/n5Z2UYLD+RULtaF/O0vA5l3vknFowQ+du1/gcVpmLSgO3waOyHUQ+dtPwJ2NJHe2+Dz9u6YnAzyeXDMm98vllpOD+08sNcWL9qjE6L8+np8MCBpQ/N8tNnGU7JqFEgCTthskmt/F0FT4xt+TEj+Wztvq1xipEBSdIpFhAXU2T2QoTJg6zTki/TZNQVAJciLF7Qj3BKR6ygTKL5kyM+hdXxWL+K3UsiZleEyk6Y/wXODpFdyIVrYxX038qtKXfOIWtxODifU4rRxd1VCiWgDyOjp9sl/IQypO8eltPkIZmte7b5cU7NY1YUCX0fmSYC/w== X-Yahoo-Newman-Id: 886800.71779.bm@smtp119.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: vcR7ZtIVM1noHXPjhsOigOKAHbDIGGWC9JVXynl7hPn.wDH E4WyfMwppR4chedINVTtijzQmYt0iVHFc6b7xhhDfw98c80FulrEvvpyjGSQ AYi9dPnDsYTAq14BA3Uk70PPMQmxq4lc4kGQjbH88VELV4F5RCgW8YWaVV1K PdJt5fToQPf6Smtib.SEpyf_PxkaV6K3uM7eA3JO6FcsMJvFB53ww9i5Bh8o m9GQnw1yuzjmIDR3e7inEBG3zdPFPhEtMNDeIQRFSAjpt.tqy938no.9.vLB iZm780OjlsA88NtSaM4tWexblKOcFqYZJ4lm7DhKHg4yXAkxZWI_Nf06PLnf mqfoQnhDza4fac4mY3pND6x9AwMF5qySf2sbvVcFaPOT4_6yAty.VW58_jIY qGTsXRhM3nCAwn0Rd9tyjQR99mAm4jSFs2Q4aspP80kl3JFC1_MCIUOH4NtL EXQSI3vWUUmD8sy.BaexP0lpSIj9wGMFzxZpv3Wyk_tgZJl6Tsl6y7L66EEi N5f0KAfSpcJlUDgcs1M1kInD76saoSQ-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: <97E3F4A3-6951-4848-8711-B8BD609BA79D@kba.biglobe.ne.jp> From: Oliver Kiddle References: <1436143012-9243-1-git-send-email-mikachu@gmail.com> <4740.1436181110@thecus.kiddle.eu> <97E3F4A3-6951-4848-8711-B8BD609BA79D@kba.biglobe.ne.jp> To: zsh-workers@zsh.org Subject: Re: PATCH: _ps1234, _date_formats: Complete strftime formats for %D{} MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21964.1436444550.1@thecus.kiddle.eu> Date: Thu, 09 Jul 2015 14:22:30 +0200 Message-ID: <21965.1436444550@thecus.kiddle.eu> "Jun T." wrote: > man strftime(3) says: > > Between the '%' character and the conversion specifier character, > an optional flag and field width may be specified. (These precede > the E or O modifiers, if present.) > > Here, the flag is one of - _ 0 ^ #. So Isn't it better to omit the > flags - _ ^ # from the exclusion above? Good point, thanks. I hadn't noticed that there was a distinction between the flags and modifiers. Oliver diff --git a/Completion/Unix/Type/_date_formats b/Completion/Unix/Type/_date_formats index 2daf820..09f8cab 100644 --- a/Completion/Unix/Type/_date_formats +++ b/Completion/Unix/Type/_date_formats @@ -5,8 +5,8 @@ local -aU specs local -A exclusion exclusion=( - 'E' '[-_^#cCgGxXyY]' - 'O' '[-_^#BdeHImMSuUVwWy]' + 'E' '[cCgGxXyY]' + 'O' '[BdeHImMSuUVwWy]' '-' '[OEdegHIjklmMSUz]' '_' '[OEdgHIjmMSUz]' '0' '[Oekl]'