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

Re: Feature Request: fc -C to clear history and reset counter



On Tue, May 19, 2020 at 9:15 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Bash stores its history file as essentially a
> shell script, and loads it by parsing it as script input but skipping
> execution.

It has been pointed out to me that this is incorrect and misleading;
bash does not use its shell language parser to reload the history,
which if I had thought for half a moment is obvious because bash uses
the readline library.  I was trying to make an analogy to emphasize
that bash history is typically formatted as directly-executable shell
commands whereas zsh history is frequently not so, and I botched it.
Sorry.



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