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

Re: Finding the first history event of the current instance



On Mon, Jun 1, 2015 at 1:59 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On May 31, 11:29am, Oliver Kiddle wrote:
> } Subject: Re: Finding the first history event of the current instance
> }
> } > The options -N (new), -O (old), and -F (foreign) are all currently unused
> } > by "fc" if we wanted to add multiple filterings.
> }
> } I think I'd favour +L for foreign (i.e. not local). It's easier to
> } remember that way.
>
> That'd be fine by me, but read on.
>
> } I'm not sure how the option parser works but that may
> } change the meaning of fc + which isn't ideal.
>
> I don't think it'll affect that at all.  However, it will mean that
> "fc +l" has the same meaning as "fc -l", unless we do a lot of special
> processing.  (Same for +r/-r etc.)  So maybe we don't want that.

It's also a lot less discoverable by fc -<tab>. And maybe a bit
confusing that neither -L nor +L would be the default.

-- 
Mikael Magnusson



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