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

Re: Unexpected globbing when expanding history



On Fri, Jun 14, 2024 at 10:37 PM Mark J. Reed <markjreed@xxxxxxxxx> wrote:
>
>
> On Fri, Jun 14, 2024 at 1:15 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>>
>> History files are stored in metafied form,
>
>
> But how does a literal character from the command turn into a token in the metafied form? That seems like a confusion of levels that shouldn't be possible.

fc -p takes as the first argument the path to a zsh format histfile,
which on this command line is created with contents that are not a
valid zsh format histfile.

-- 
Mikael Magnusson




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