speed up the zsh under the git repo

Method 1

Uncomment the DISABLE_UNTRACKED_FILES_DIRTY="true" inside the .zshrc

Method 2

  • Global configuration
1
git config --global --add oh-my-zsh.hide-dirty 1
  • for some of the repo
1
git config --add oh-my-zsh.hide-dirty 1