Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: history expansion
On Thu, Feb 20, 2020 at 5:20 AM Pier Paolo Grassi <pierpaolog@xxxxxxxxx> wrote:
>
> 20-02-20 14:16:45 root@bakeca-vivobook Path: ~
> : print -z '!!'
> 20-02-20 14:16:47 root@bakeca-vivobook Path: ~
> : !!
> print -z '!!'
>
> !! is resolved to print -z '!!'
I'm surprised that no one has pointed out that history does not expand
inside single quotes, but it does in double quotes.
print -z "!!"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author