zsh-autocomplete: Super slow git remote completion
When I use git
and do stuff like adding a remote or clone from remote, when start to type the https
or ssh
location, the input becomes super slow. Often does nothing happen anymore and then all keystrokes are applied at once. This happens always and is quite annoying. Can I disable that? I don’t necessarily need completion for the remote location paths.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 49 (29 by maintainers)
Commits related to this issue
- Improve performance & fix auto-correction widgets * Fix issue #2. * Address issue #24. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
- Increase `list-choices` performance when no matches can be found * Fix issue #17. * Address issue #24. — committed to marlonrichert/zsh-autocomplete by marlonrichert 4 years ago
https://gist.github.com/michaelpolonski/567068597551788485bb863cee9d27ec
Apparently it is. Thereby also the tab circling etc does not work. So I should first clean up my configuration and checkout what causes the issues.
Thanks for your nice words. I’m looking forward to the solutions of the linked issues! 🚀 If I managed to fix my setup, I’ll maybe come back and open issues where necessary. 😃
Updated and returned _ping. Still stuck.
Here it is! I renamed /usr/share/zsh/functions/Completion/Unix/_ping and that fixed the problem. Now it does not auto-complete the ping command but doesn’t matter.
I am sorry guys, both lines have no effect. Perhaps the problem is with my environment. Unfortunately, I no longer have time to continue, and I do not want to take the time from you. Thanks for the great plugin.
argument-rest options (_arguments _ping) tags in context :completion::complete:ping:argument-rest: hosts (_hosts _arguments _ping)
@marlonrichert works like charm. Thanks for this fix! I keep the issue open for @michaelpolonski …
@weilbith I just pushed in a fix that hopefully alleviates your problem. Please update and try it. 🙂
Thanks, I’m able to reproduce it. I’ll see what I can do.
I just run an update and my local version is on commit 0ba256a63fe1304a6e041233a92f2e08d3d76818 which is current
master
s head of this remote here.Let’s type
$ git clone git@github.com:
. As soon as I reach the colon and want to continue the problem occurs. It remains as long as I edit this URL no matter what.