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

Re: History expansion surprisingly sets event designator



Peter Stephenson <p.stephenson@xxxxxxxxxxx> writes:

> On Tue, 6 Jun 2017 18:54:57 +0200
> Leah Neukirchen <leah@xxxxxxxx> wrote:
>> If my command line is "echo !:3" before pressing RET, it should always
>> print z, even if I fiddled around with tab expansion during editing.
>
> I see what you mean.  It's not obvious the default event propagates
> from the line editor to the history line substitution performed
> on input.
>
> We can restrict the scope easily enough.

This seems to work as I expected it, thank you!

-- 
Leah Neukirchen  <leah@xxxxxxxx>  http://leah.zone



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