macOS are shipped with ZSH Shell as the default shell, but you will see that autocomplete is enabled by default.
In order to turn on autocomplete in Terminal, follow the below steps,
- Open Terminal App on your Mac.
- Now run the below command.
- Once the download is complete, let's apply the changes to zsh shell.
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
Now if you try to type any builtin command or any text of the preview history you should get auto-suggestions on your Mac Terminal.

-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to zsh,
- [fix] zsh: illegal hardware instruction python TensorFlow M1/M2 Mac
- macOS Ventura 13: The default interactive shell is now zsh
- Fix: cd: string not in pwd
- How to reload Zsh .zshrc Profile
- Resolve - zsh: command not found: code
- Ubuntu zsh: command not found: nano
- Fix: zsh: command not found: mysql (Mac XAMPP)
- Setting up Zsh Syntax Highlighting
- Fix zsh: permission denied: script.sh
- Fix - zsh: command not found: conda [macOS]
- zsh: command not found [fix] macOS
- ZSH: exec format error eclipse M1/M2 Mac
- Fix for zsh: command not found: brew
- Fix: zsh: command not found: npm after installation (Node.js)
- How to reload zsh shell profile file?
- How to Add New Entry to ZSH PATH
- How to make ZSH as the default shell on Ubuntu
- How to fix: zsh: command not found: jupyter
- How to clear ZSH history of commands executed on Mac Terminal
- Fix - zsh: command not found: pip
- Fix - cd: no such file or directory: .zshrc
- Add Syntax Highlighting in Zsh Shell
- Fix: ZSH: cd: too many arguments (macOS)
More Posts:
- Error: Can not find the tag library descriptor for - Java
- What is Android Toast.LENGTH_SHORT and Toast. LENGTH_LONG durations - Android
- How to always show Bookmarks bar on Google Chrome Browser - Chrome
- Python Program To Calculate Simple Interest (SimpleInterest.py) - Python
- [Fix] MySQL Docker ERROR 1045 (28000): Access denied for user root@localhost (using password: YES/NO) - MySQL
- Base 64 Index, Character and Binary Table - Html
- Convert Java List to Json String using Jackson - Java
- Python copy file from a source to destination - Python