GitHub repository: snowasnow/thefuck
Description: Magnificent app which corrects your previous console command.