zsh-autosuggestions
brew install zsh-autosuggestions
v0.7.1
MIT
Fish-like autosuggestions plugin for zsh that offers command completions as you type based on shell history.
Why you might care
Dramatically speeds up command-line workflows by suggesting frequent or recent commands while you type, with suggestions appearing unobtrusively in muted text. Unlike traditional tab-completion, it works passively and you accept suggestions with arrow keys or End key. Essential for zsh power users who want Fish shell's UX without switching shells.
5.8k
30-day installs · #544
20.5k
90-day · #509
73.0k
365-day · #526
35.7k
★ GitHub stars · updated 12mo ago
GitHub topics
autocomplete
autosuggest
fish
shell
zsh
zsh-autosuggestions
Links
- https://github.com/zsh-users/zsh-autosuggestions
- GitHub: zsh-users/zsh-autosuggestions
- Brew formula source: Formula/z/zsh-autosuggestions.rb
Caveats
To activate the autosuggestions, add the following at the end of your .zshrc: source $HOMEBREW_PREFIX/share/zsh-autosuggestions/zsh-autosuggestions.zsh You will also need to restart your terminal for this change to take effect.
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"fish",
"zsh-completions",
"fzf"
],
"build_dependencies": [],
"categories": [
"shell",
"shell-prompt"
],
"caveats": "To activate the autosuggestions, add the following at the end of your .zshrc:\n\n source $HOMEBREW_PREFIX/share/zsh-autosuggestions/zsh-autosuggestions.zsh\n\nYou will also need to restart your terminal for this change to take effect.\n",
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Fish-like fast/unobtrusive autosuggestions for zsh",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:56+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "zsh-autosuggestions",
"github_default_branch": "master",
"github_last_commit_at": "2025-06-24T16:15:03Z",
"github_readme_excerpt": "# zsh-autosuggestions\n\n_[Fish](http://fishshell.com/)-like fast/unobtrusive autosuggestions for zsh._\n\nIt suggests commands as you type based on history and completions.\n\nRequirements: Zsh v4.3.11 or later\n\n[](https://gitter.im/zsh-users/zsh-autosuggestions)\n\n\u003ca href=\"https://asciinema.org/a/37390\" target=\"_blank\"\u003e\u003cimg src=\"https://asciinema.org/a/37390.png\" width=\"400\" /\u003e\u003c/a\u003e\n\n\n## Installation\n\nSee [INSTALL.md](INSTALL.md).\n\n\n## Usage\n\nAs you type commands, you will see a completion offered after the cursor in a muted gray color. This color can be changed by setting the `ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE` variable. See [configuration](#configuration).\n\nIf you press the \u003ckbd\u003e\u2192\u003c/kbd\u003e key (`forward-char` widget) or \u003ckbd\u003eEnd\u003c/kbd\u003e (`end-of-line` widget) with the cursor at the end of the buffer, it will accept the suggestion, replacing the contents of the command line buffer with the suggestion.\n\nIf you invoke the `forward-word` widget, it will partially accept the suggestion up to the point that the cursor moves to.\n\n\n## Configuration\n\nYou may want to override the default global config variables. Default values of these variables can be found [here](src/config.zsh).\n\n**Note:** If you are using Oh My Zsh, you can put this configuration in a file in the `$ZSH_CUSTOM` directory. See their comments on [overriding internals](https://github.com/robbyrussell/oh-my-zsh/wiki/Customization#overriding-internals).\n\n\n### Suggestion Highlight Style\n\nSet `ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE` to configure the style that the suggestion is shown with. The default is `fg=8`, which will set the foreground color to color 8 from the [256-color palette](https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg). If your terminal only supports 8 colors, you will need to use a number between 0 and 7.\n\nBackground color can also be set, and the suggestion can be styled bold, underlined, or standou",
"github_repo": "zsh-users/zsh-autosuggestions",
"github_stars": 35725,
"github_topics": [
"autocomplete",
"autosuggest",
"fish",
"shell",
"zsh",
"zsh-autosuggestions"
],
"homepage": "https://github.com/zsh-users/zsh-autosuggestions",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 5769,
"installs_365d": 73005,
"installs_90d": 20508,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:45:32+00:00",
"llm_model": "claude-haiku-4-5",
"name": "zsh-autosuggestions",
"oldnames": [],
"one_liner": "Fish-like autosuggestions plugin for zsh that offers command completions as you type based on shell history.",
"optional_dependencies": [],
"rank_30d": 544,
"rank_365d": 526,
"rank_90d": 509,
"raw_hash": "b1835cb1fd83d7f5",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/z/zsh-autosuggestions.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
{
"zsh": "test"
}
],
"version_head": null,
"version_stable": "0.7.1",
"versioned_formulae": [],
"why_use_this": "Dramatically speeds up command-line workflows by suggesting frequent or recent commands while you type, with suggestions appearing unobtrusively in muted text. Unlike traditional tab-completion, it works passively and you accept suggestions with arrow keys or End key. Essential for zsh power users who want Fish shell\u0027s UX without switching shells."
}