To make it work, you have to be using zsh:
- If you're on recent MacOS then you already are
- If you're on Linux, follow these steps:
Before applying the above config, install antigen
- just follow this link for that: https://github.com/zsh-users/antigen#installation
I also added
antigen bundle zsh-users/zsh-autosuggestions
which may be useful.