From: Bart Schaefer <schaefer@brasslantern.com>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: Feature Request: fc -C to clear history and reset counter
Date: Wed, 20 May 2020 16:53:35 -0700 [thread overview]
Message-ID: <CAH+w=7ZP0emEW24=D+wTnW=r1vmaos-zH8a9zEMLax4atoSfFQ@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7az4bgJ7mQM1iscajMh1+HjH6mR6wm+eiiV4Ly6=uM-zw@mail.gmail.com>
On Tue, May 19, 2020 at 9:15 PM Bart Schaefer <schaefer@brasslantern.com> 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.
prev parent reply other threads:[~2020-05-20 23:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 15:52 Markus Näher
2020-05-19 18:28 ` Roman Perepelitsa
2020-05-19 20:22 ` Markus Näher
2020-05-19 22:58 ` Bart Schaefer
2020-05-20 0:13 ` Markus Näher
2020-05-20 0:23 ` Markus Näher
2020-05-19 23:03 ` Daniel Shahaf
2020-05-19 23:17 ` Bart Schaefer
2020-05-21 3:37 ` Daniel Shahaf
2020-05-19 22:33 ` Bart Schaefer
2020-05-20 0:13 ` Markus Näher
2020-05-20 4:15 ` Bart Schaefer
2020-05-20 9:38 ` Markus Näher
2020-05-21 1:05 ` Bart Schaefer
2020-05-20 23:53 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH+w=7ZP0emEW24=D+wTnW=r1vmaos-zH8a9zEMLax4atoSfFQ@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).