-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Really slow #22
Comments
Is In my case, I had to do a git --prune on my repo (forgot to exclude some log files). |
If you are suffering from a slow prompt, you might like to try my fork. If the git status process takes too long, then it aborts to give you a prompt, but continues processing in the background, so you can get the stats later. It's probably not for everyone, but maybe it can help you. |
Interesting, Ill have to give your fork a try. I like the fact that it starts the git status --porcelain in the background. 👍 but not sure if its actually faster. |
This issue seems like a duplicate of #9 |
This does in indeed look like a duplicate of #9. |
Hey,
I just implemented this in a vagrant box and it works perfectly but it's really slow. I even removed the git_dirty from PS1 but that didn't improve things much.
This is what my prompt looks like:
export PS1="\${debian_chroot:+(\$debian_chroot)}\[$txtgrn\]@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \[$txtylw\]\$git_branch\[$txtrst\]\$ "
The text was updated successfully, but these errors were encountered: