The Fuck is a magnificent app that corrects errors in previous console commands.

WWW: https://github.com/nvbn/thefuck
