oh-my-zsh slow on WSL2 git directory

You might notice oh-my-zsh very slow on WSL2 shell, especially when you cd into a directory with git enabled.

This can be resolved by running following command

git config --global oh-my-zsh.hide-status 1