Get instant command suggestions with zsh-autosuggestions, a must-have for founders working with zsh, with 36k+ GitHub stars
35,827 stars1,938 forksShellQuality 9/10Updated 6/24/2025100% free ยท open source
What it does
zsh-autosuggestions provides instant command suggestions as you type in your zsh terminal, drawing from your command history to suggest possible completions
โขWhen working with frequently used commands and wanting to reduce typing time
โขWhen exploring a new system or project and needing to quickly find available commands
โขWhen trying to recall complex or hard-to-remember commands
Quick start
1Clone the zsh-autosuggestions repository using git clone https://github.com/zsh-users/zsh-autosuggestions.git
2Add the source line to your ~/.zshrc file: echo 'source /path/to/zsh-autosuggestions/zsh-autosuggestions.zsh' >> ~/.zshrc
3Restart your terminal or run source ~/.zshrc to apply the changes
4Start typing a command and press the right arrow key to accept a suggestion
5Customize the suggestion color by adding the following line to your ~/.zshrc file: 'ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=12"'
Ready-to-paste prompt
Type 'git ' and then press the right arrow key to accept a suggested Git command, such as 'git status'
Heads up: Make sure you have zsh installed and set as your default shell, as zsh-autosuggestions only works with zsh and not with other shells like bash
Saves to your device
Topics
autocomplete
autosuggest
fish
shell
zsh
zsh-autosuggestions
What's inside โ free to inspect
No purchase needed
Read the entire source before you build โ unlike paid marketplaces that hide it behind a buy button.