'git' Configuration for 'oh-my-zsh' on WSL
August 18 2018102 words, ~1 min. read
windows, tools, bash, zsh, git
So far, I have tried and used cygwin, git-bash, msys2, conemu and cmder for bash and babun for zsh on my Windows 10 laptop.
Recently, I installed Debian GNU/Linux for Windows Subsystem for Linux; also, I was able to install and configure zsh, oh-my-zsh along with zsh-syntax-highlighting and zsh-autosuggestions plugins. However, I noticed that zsh was taking a long time to refresh the prompt, when I cd to a reasonably big git respository.
After configuring git using the following configurations, as suggested by this stackoverflow thread, the issue got resolved.
$ git config --add oh-my-zsh.hide-status 1
$ git config --add oh-my-zsh.hide-dirty 1