# zsh-autosuggestions

> Fish-like autosuggestions for zsh

- Type: agent or tool
- Field: System & Self-hosted
- Repository: https://github.com/zsh-users/zsh-autosuggestions
- GitHub stars: 36225
- Licence: MIT
- Language: Shell
- Last push: 2025-06-24
- Page: https://imutechz.in/agents/zsh-autosuggestions

## What it is
zsh-autosuggestions provides Fish-like autosuggestions for zsh, showing command completions as you type based on history and tab-completion. It requires Zsh v4.3.11 or later and works by suggesting text after the cursor in a muted color that can be accepted with arrow keys.

## Features
- history-based command suggestions
- completion-engine fallback strategy
- configurable highlight style (color, bold, underline)
- multiple suggestion strategies (history, completion, match prev cmd)
- asynchronous fetching in zsh 5.0.8+
- customizable widget mappings for accept/clear/execute

## Pros
- fast and unobtrusive suggestions
- highly configurable highlight and behavior
- works with Oh My Zsh via $ZSH CUSTOM
- async mode prevents blocking

## Cons
- requires Zsh v4.3.11+
- iTerm2 users may need color adjustments to see suggestions
- async mode has ctrl+c bug in zsh < 5.0.8

Tags: zsh, autosuggestions, shell, plugin, productivity, history, completion, fish-like
