zsh-autosuggestions

A Zsh plugin that suggests commands as you type, based on your shell history.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

1 more ways to get zsh-autosuggestions

Package managers

  • Homebrewbrew install zsh-autosuggestions

About zsh-autosuggestions

zsh-autosuggestions brings Fish-style autosuggestions to Zsh. As you type, it shows the rest of a matching command from your history in faded text, and pressing the right arrow key or a bound key accepts it.

It is fast and unobtrusive, and works with plugin managers such as Oh My Zsh or by sourcing the script directly from your Zsh configuration. Suggestion strategies and the highlight style can be adjusted.

Strengths

  • Fish-like suggestions from command history
  • Fast and unobtrusive
  • Works with common Zsh plugin managers
  • Configurable strategies and highlight style

Limitations

  • Zsh only
  • Suggestions come from history, so they are only as good as what you have typed before

Details

Pricing
FreeFree and open source.
License
MIT
Developer
The zsh-users contributors
Platforms
macOS, Linux, Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
Zsh users who want Fish-style command suggestions
Categories
Terminals, CLI tools
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to zsh-autosuggestions

Compare all

Software that can replace zsh-autosuggestions for an important use case, and what changes if you switch.

  • fish

    A shell that autosuggests commands from your history, highlights syntax as you type and has tab completions that work without configuration.

    fish builds history-based autosuggestions into the shell itself with no plugins, but switching means leaving Zsh for a shell that is not POSIX-compatible.

  • ble.sh

    A line editor written in pure Bash that adds syntax highlighting, autosuggestions and vim modes.

    ble.sh brings autosuggestions, syntax highlighting and vim modes to Bash in pure Bash code, so it suits Bash users rather than Zsh.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing