Subject: Re: [PATCH] _fc: allow the user to limit the number of events
From: Mikael Magnusson <[email-masked]>
To: Daniel Shahaf <[email-masked]>
Cc: Eric Cook <[email-masked]>, zsh workers <[email-masked]>
Date: Tue, 5 Jul 2016 16:58:53 +0200
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Tue, Jul 5, 2016 at 6:57 AM, Daniel Shahaf <[email-masked]> wrote:
> Eric Cook wrote on Mon, Jul 04, 2016 at 17:32:59 -0400:
>> I am open to a better style name if someone can think of one.
>
>> +kindex(history-events, completion style)
>> +item(tt(history-events))(
>> +If this is set to a number, it is used to limit the number of history
>> +events when completing tt(fc) or tt(history).
>> +)
>
> How about calling the style `limit`?  That name is more generic so other
> places could use it too.  (Example: __git_reflog_entries)

The _history completer uses "range", but the format of that is
slightly different.

-- 
Mikael Magnusson