News for hackers. Stuff that matters.
Re:The Fuck – Correct your previous console command by Anderkent on Friday April 17, 2015 @03:07PM (#9396505)
I'd like it more if it just expanded to the 'correct' command and required another return to actually run:

$ apt-get install foo<return> $ fuck<return> -> sudo apt-get install foo<return>

zsh does something similar for history commands, I think:

$ echo foo foo $ echo !$<return> -> $ echo foo

There are no comments on this comment yet.