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

Re: Unexpected results



On Mon, Aug 22, 2022 at 7:01 AM Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> The :h modifier on history is pretty brutal, yes.  We store the
> full history word internally, but a "history word" is before the
> lexical analyser has got to work, i.e. the raw expression with
> quotes in it.  What you want is that word after it's been
> processed internally.

echo !:1:Q:h:q

perhaps?




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