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

Re: [PATCH] _fc: allow the user to limit the number of events



On Tue, Jul 5, 2016 at 6:57 AM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> 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



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