The Fuck
The Fuck plugin — magnificent app which corrects your previous console command.
To use it, add thefuck to the plugins array of your zshrc file:
plugins=(... thefuck)
Usage
Press ESC
twice to correct previous console command.
Notes
Esc
-Esc
key binding conflicts with sudo plugin.