The Fuck
Magnificent app which corrects your previous console command.
The tool watches the most recent command entered in a shell and, when that command fails, suggests a corrected version based on a set of predefined rules. It can automatically prepend missing privileges, replace mistyped program names, add required arguments, or adjust version‑control commands, then presents the suggestion for confirmation or execution. An experimental instant mode removes the confirmation step, and options exist to run fixes recursively or without prompting.
It is intended for developers and command‑line users who frequently encounter typographical errors, permission problems, or omitted flags while working in Bash, Zsh, Fish, PowerShell, or similar environments. By installing the package via a system’s package manager or pip and adding a shell alias, the utility becomes available as a simple command that can be invoked after any failure.
What distinguishes it is the rule‑based engine that can be extended with custom patterns and that integrates with third‑party packages providing additional correction rules. The application runs on Python 3.5+ and is distributed under an MIT license.
Reviews
Loading reviews…
Similar apps

Terminals & CLI
fig
Reimagine your terminal
Terminals & CLI
fkill-cli
Simple cross-platform process killer.
Terminals & CLI
terminals-are-sexy
Terminal frameworks, plugins & resources.

Clipboard, Input & Automation
fzf
A general purpose command-line fuzzy finder, can be used with any list: files/directories, command history, processes, hostnames…

Terminals & CLI
translate-shell
Google Translate interface.
Terminals & CLI
Wat
Instant, central, community-built docs.