Consider reworking entirely to improve performance and base on [diy++](https://github.com/romkatv/zsh-bench/blob/master/configs/diy%2B%2B/skel/.zshrc) from [zsh-bench](https://github.com/romkatv/zsh-bench).