zsh: improve git prompt speed by reducing checks