Skip to content
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

Unbeareable slowness with the prompt module. #168

Closed
meh opened this issue May 6, 2012 · 5 comments
Closed

Unbeareable slowness with the prompt module. #168

meh opened this issue May 6, 2012 · 5 comments

Comments

@meh
Copy link
Contributor

meh commented May 6, 2012

This started happening today (with any prompt, in an empty directory, and in X (in the tty it doesn't hang)), after the command executed it hangs there for ~1 second.

The only thing that changed on my system has been a bash upgrade.

Any idea of what it could be?

EDIT: downgraded bash, it wasn't that.
EDIT2: I tried with some older commits and nothing changes, so I guess it is something limited to my system.

@sorin-ionescu
Copy link
Owner

This project is for Zsh, not BASH, and a BASH upgrade should not affect it. I have no idea what's wrong with your system. It's best to ask for help in your distribution's forum.

@meh
Copy link
Contributor Author

meh commented May 6, 2012

Found the culprit, it was hub overloading the git command and making vcs_info a slowpoke.

@sorin-ionescu
Copy link
Owner

Don't install hub if you don't use it.

@meh
Copy link
Contributor Author

meh commented May 6, 2012

Yeah, I just supposed it wouldn't inject itself and I could just use the hub command when needed.

@sorin-ionescu
Copy link
Owner

hub is designed to wrap git.

kodelint pushed a commit to kodelint/prezto that referenced this issue Nov 15, 2016
kodelint pushed a commit to kodelint/prezto that referenced this issue Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants