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

Re: [PATCH] add 'fc -s'



> 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