A time-saving way to re-run your last terminal command but with substituted parts
Abstract
Introducing the shell command fc
and its option -s
.
I already wrote two articles about the Z shell’s built-in r
(with no or one argument and with two arguments) which really only is an alias for a particular use case of the command fc
. So today, let’s stop scratching the surface that is the command r
and dig deeper by examining the command fc
. There’s a lot more to discover about that fc
command.