CommandFixer
A lightweight Go binary that catches your common typing
mistakes in PowerShell before they run. Type git sattus,
press Enter and it swaps in git status, then runs it once
you approve.
No system-wide keyboard hooks. No background service. The binary runs once each time you press Enter on a command, then exits.
The typo never reaches the shell
CommandFixer hooks the Enter key through PSReadLine. When the buffer looks like a near-miss of a command it knows, it shows the corrected form and waits for a single keystroke before anything executes.
PS> git sattus CommandFixer: did you mean: git status [Y/n] y On branch main nothing to commit, working tree clean PS> npm isntall CommandFixer: did you mean: npm install [Y/n] y PS> ipconfg /all CommandFixer: did you mean: ipconfig /all [Y/n] y
For people who live in the terminal and mistype
CommandFixer is a small quality-of-life tool for the Windows command line. It corrects the near-misses you already know are wrong the instant you see them, without changing how you work.
It is for you if
- You work daily in PowerShell 7 or Windows PowerShell 5 and fumble subcommands like
git sattusornpm isntall. - You want corrections to be suggested, not silent: it always asks before it runs the fix.
- You want a tool that is local and self-contained, with no account, no telemetry and no background process.
- You are comfortable installing a single binary that hooks your PowerShell profile and can be cleanly removed.
It is not for you if
- You are on macOS or Linux. CommandFixer targets Windows PowerShell profiles and PSReadLine.
- You want it to guess intent or invent commands. It only corrects close matches to a known command set, on lines of two words or more.
- You want fully silent auto-execution. Corrections are confirmed by you, by design.
- You expect a GUI. This is a CLI hook that stays out of your way.
Supporting CommandFixer
CommandFixer is free and stays free. There is no paid tier, no licence key and no feature held back behind a donation. If it has saved you time or simply been useful, a contribution supports its maintenance and continued development.
Donate