Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] add 'fc -s'
- X-seq: zsh-workers 48078
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Martijn Dekker <martijn@xxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] add 'fc -s'
- Date: Wed, 17 Feb 2021 10:22:03 +0000 (GMT)
- Archived-at: <https://zsh.org/workers/48078>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/2107903521.3908044.1613557323736%40mail2.virginmedia.com>
- Importance: Medium
- In-reply-to: <1f38bb84-9176-7f70-bfe1-d7b27c52b71b@inlv.org>
- List-id: <zsh-workers.zsh.org>
- References: <1f38bb84-9176-7f70-bfe1-d7b27c52b71b@inlv.org>
> On 16 February 2021 at 18:34 Martijn Dekker <martijn@xxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author