Replace Last Command in Shell

Whether I fat-finger a command or my MacBook Pro keyboard’s keys don’t want to respond like they should, I’m frequently misspelling commands.  What’s more frustrating is that many of these commands are long, taking making fixing theme time-consuming. Luckily a Twitter follower is looking out for me, providing me a quick command for fixing the […]
The post Replace Last Command in Shell appeared first on David Walsh Blog.

Link: https://davidwalsh.name/replace-command-shell