Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _ps1234, _date_formats: Complete strftime formats for %D{}



On Wed, Jul 8, 2015 at 4:02 PM, Jun T. <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>
> 2015/07/06 20:11, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
>
>> +exclusion=(
>> +  'E' '[-_^#cCgGxXyY]'
>> +  'O' '[-_^#BdeHImMSuUVwWy]'
>
> 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?

I've also just noticed that completion after %D\{%\# and \^ doesn't
work, but single-quoted is fine.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author