From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Martijn Dekker <martijn@inlv.org>,
Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH] add 'fc -s'
Date: Wed, 17 Feb 2021 10:22:03 +0000 (GMT) [thread overview]
Message-ID: <2107903521.3908044.1613557323736@mail2.virginmedia.com> (raw)
In-Reply-To: <1f38bb84-9176-7f70-bfe1-d7b27c52b71b@inlv.org>
> On 16 February 2021 at 18:34 Martijn Dekker <martijn@inlv.org> wrote:
> POSIX specifies 'fc -s' as the option to re-execute the command without
> invoking an editor:
> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/fc.html
>
> Zsh doesn't have this option. This was reported by user doedoe18881 on
> Reddit:
> https://www.reddit.com/r/zsh/comments/lkj7l9/fc_s_and_posix_compatibility/
>
> It is an exact equivalent of zsh's 'fc -e -', so adding the option is
> trivial and the cost is negligible. Here's a patch.
Thanks, it's committed.
pws
prev parent reply other threads:[~2021-02-17 10:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-16 18:34 Martijn Dekker
2021-02-17 10:22 ` Peter Stephenson [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=2107903521.3908044.1613557323736@mail2.virginmedia.com \
--to=p.w.stephenson@ntlworld.com \
--cc=martijn@inlv.org \
--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).