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.

Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!