nvbn / thefuck

Magnificent app which corrects your previous console command.
MIT License
83.76k stars 3.41k forks source link

[Suggestion] Detect "did you mean ...?" #1398

Open moritztim opened 11 months ago

moritztim commented 11 months ago

A lot of commands with subcomands will say pretty much exactly "Unknown command: 'runn' did you mean 'run'?" when you make a typo. It would be awesome if thefuck could detect that and suggest the correction.

The output of thefuck --version (something like The Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release): The Fuck 3.32 using Python 3.11.3 and ZSH 5.9`

Your system (Debian 7, ArchLinux, Windows, etc.): ArchLinux How to reproduce the bug: n/a

The output of The Fuck with THEFUCK_DEBUG=true exported (typically execute export THEFUCK_DEBUG=true in your shell before The Fuck): n/a

If the bug only appears with a specific application, the output of that application and its version: n/a

Anything else you think is relevant: n/a