In bash
, I had a handy alias:
alias r="fc -s"
Which just repeated last command. Same as !!
. I am now used to it (muscle memory), but I can't seem to figure out how to recreate the alias. fc
doesn't have -s
option in zsh
. How can I bind !!
behavior to r
?