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
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
On a clean installed WSL2 (Windows SubSystem for Linux Gen 2), you might get error “Operation not permitted” when trying to run command git clone on the shell.
To resolve this, simple run following commands:
sudo umount /mnt/c
sudo mount -t drvfs C: /mnt/c -o metadata
You might need to replace the drive letter if you hit error on other drivers.