Auto-completion is extremely slow
MathiasSven opened this issue · 6 comments
Hi, I found out about this project a couple of days ago, I wanted to help package it for my distro but while doing so I noticed two issues.
The first one is pretty minor, when you run git-sim --show-completion SHELL the output is padded by Manim Community v0.16.0.post0 using it for packaging is a little awkward, needing to pipe it through sed '1,2d'.
The second issue is that auto-completion is really slow, making it quite annoying to use. I have included a video showcasing it
slow.mp4
Hi again,
This is merged into dev now. I'm putting the finishing touches on the next git-sim release so hopefully will have that out in a few days, including this enhancement.
I'll keep this open until it's deployed and you can verify it works. I'll leave another note here when ready for you to test.
Just released this! Please use git-sim version 0.2.9 to take advantage of this. You can upgrade git-sim with: pip install git-sim --upgrade.
I'll close this for now since it's implemented, but please keep me posted on integrating git-sim into NixOS!
@MathiasSven Were you able to package this for NixOS?
When I was trying to package git-sim I didn't notice there was an open PR, but it had been stale for a while.
I made changes to include auto-completion and to start at 0.2.7 rather than 0.1.2 but I was waiting on the PR author to include them. The PR seems to have gone inactive again, but it also wasn't building... I will update my PR on the authors branch again since it is at 0.2.9 now.
@MathiasSven super cool workaround, thanks!
@MathiasSven Thanks for the update! Hopefully it gets merged. If you have a chance please let us know if it gets accepted!