Created
April 9, 2021 08:12
-
-
Save froemken/e1effa1a444a5292fa61219bf2e5a2cc to your computer and use it in GitHub Desktop.
Deactivate git dirty check on ZSH because of performance reasons
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Switching directories can be very slow in ZSH with activated git dirty check. | |
# Some themes create their own git queries and sometimes ignore these flags. | |
# @link: https://stackoverflow.com/questions/12765344/oh-my-zsh-slow-but-only-for-certain-git-repo | |
# It does not work with spaceship theme. | |
git config --global --add oh-my-zsh.hide-status 1 | |
git config --global --add oh-my-zsh.hide-dirty 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment