Analysis updated 2026-06-20
Accept frequently-used terminal commands with a single right-arrow keypress instead of retyping them from memory.
Speed up long git, Docker, or SSH commands by completing them from history after typing just a few characters.
Get Fish-shell style autosuggestions inside Oh My Zsh or Prezto without switching shells.
| zsh-users/zsh-autosuggestions | open-guides/og-aws | inkonchain/node | |
|---|---|---|---|
| Stars | 35,399 | 36,413 | 36,633 |
| Language | Shell | Shell | Shell |
| Setup difficulty | easy | easy | moderate |
| Complexity | 1/5 | 1/5 | 3/5 |
| Audience | developer | ops devops | developer |
Figures from each repo's GitHub metadata at analysis time.
zsh-autosuggestions is a plugin for Zsh, a popular Unix command-line shell, that shows command suggestions in gray text as you type, based on your command history. The problem it solves is that retyping commands you have used before is tedious and slow. Fish, another shell, pioneered this approach, and this plugin brings the same behavior to Zsh. The way it works is straightforward: as you type each character, the plugin looks through your shell history (and optionally your tab-completion candidates) to find the most recent command that starts with what you have typed so far. If it finds a match, the rest of that command appears grayed out to the right of your cursor. You accept the suggestion by pressing the right arrow key or End key, which fills in the full command without you having to type the rest. If you keep typing, the suggestion updates dynamically to match your new input. You can also accept only one word at a time using a separate keybinding. Installation is straightforward: you clone the repository, add a single line to your .zshrc configuration file, and the plugin activates automatically in every new terminal session. It is compatible with Oh My Zsh, Prezto, and other Zsh framework managers, so users of those frameworks can install it with even less manual setup. A developer or system administrator who uses Zsh as their terminal shell and wants faster command-line navigation without memorizing full command syntax would use zsh-autosuggestions. It is written in Shell script and works on any Unix system running Zsh.
zsh-autosuggestions is a Zsh shell plugin that shows gray ghost-text suggestions from your command history as you type, so you can accept a full command with one keystroke instead of retyping it.
Mainly Shell. The stack also includes Shell, Zsh.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.