Show HN: Zcomplete – Shell Typo Correction
Zcomplete is a new command-line utility that automatically detects and corrects typos in shell commands. It integrates with zsh, bash, and fish to suggest corrections based on user history and common command patterns.
Why it matters
It offers a practical productivity tool for developers and power users to streamline terminal workflows and reduce errors.
You mistype a command. Instead of command not found , zcomplete figures out which command you meant from the ones you actually run, and offers to run it with your arguments.
$ mkd build zcomplete: run mkdir instead of 'mkd'? [Y/n] y $ gti status zcomplete: run git instead of 'gti'? [Y/n] y On branch main nothing to commit, working tree clean $ cargo tset error: no such command: `tset` zcomplete: run cargo test? [Y/n] y zsh, bash and fish. One binary, one dependency ( libc ), about 550 KB.
curl -fsSL https://raw.githubusercontent.com/omarfakih1/zcomplete/main/install.sh | sh That downloads the binary, sets up each shell it finds, and offers to seed the database from your history. It asks before touching any config file. -s -- -y answers yes to everything.
Then restart your shell, or exec $SHELL . Done.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in