Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _fc: allow the user to limit the number of events
- X-seq: zsh-workers 38799
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH] _fc: allow the user to limit the number of events
- Date: Tue, 5 Jul 2016 16:58:53 +0200
- Cc: Eric Cook <llua@xxxxxxx>, zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tcJjKCCZpnS1O/E6YBoDwyk8/hfOBekGn1BZ7PbfOB8=; b=TaSNU4rZtvmxzkLbjzXXoMkLmczyqeQJiCFrXdQ5i5fo3Nef8s5Xetgl0Jq9jlr0IM p36gaWI95UC/vuHBWNUJMWjeFdalTfTlsRy9vN2xdZ1FhXkBM+Gdw3pwh8Y6jj7zkqUu R+O4WPrgemfcVNOkVEN4JgaQSeKxPDcgRFaGdoLuOZ9IlqIV5OC7UpEO+ZA5raELHx45 AguZJr+aYptUyZLBe1spd8Es/KeYlrPRSCQkA9ndcOQqTcrFcMPoqIKAUHHY0vqG5kUW /jJbXzq31cy3y/DxsdIFoteQKstEXjLHNdUTfl0C6BdX7yU4zYRfkuGYjBZpHc4UCbZC 6K9A==
- In-reply-to: <20160705045755.GA11492@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1467667979-31193-1-git-send-email-llua@gmx.com> <20160705045755.GA11492@tarsus.local2>
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