thefuck
Correct your previous console command with one word
Shell & Terminal
Python
thefuck is an app that corrects errors in previous console commands. Type 'fuck' after a failed command and it suggests and runs the corrected version.
Install
brew
brew install thefuck
pip
pip install thefuck
Related Tools
Atuin
Magical shell history with sync, search, and statistics
direnvUnclutter your .profile with per-directory environment vari…
GNU ScreenThe original terminal multiplexer for detaching sessions
McFlyFly through your shell history with intelligent search
naviAn interactive cheatsheet tool for the command-line
Oh My PoshA prompt theme engine for any shell with hundreds of themes
StarshipMinimal, blazing-fast cross-shell prompt with smart defaults
tldrSimplified and community-driven man pages