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 have the same problem with my new mac pro m2. Even using
brew install zsh-async, the terminal freezes atsource .zshrc.