-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Option to disable online lookups for speed? #1065
Comments
This is indeed happening, but I think it's a bug. It was not supposed to sync every time, only sometimes when there is no cache or cache is too old. |
It syncs if the command is not known since maybe the command is newer than what we have cached. I agree it’s annoying. What shellcode do you use? I am reconsidering what is the default for v2 |
ZSH. It may be a false memory, but I don't remember it being a problem some versions ago. Maybe it's the sync operation that is taking longer. |
I'm also on zsh. And you're right, it doesn't always seem to be slow. But I'd be very happy to turn the whole thing off, I really don't want to"advertising" in my shell. To be completely honest, it has me considering dropping pkgx from our recommended toolset, between the very noticeable delay and the constant "hey, use me, use me" it makes it hard to recommend the tool as part of our dev process. |
Sorry by shellcode, I mean the |
The shellcode is optional. Recommend they don’t use it? Edit: well I guess you are using All the same the rust port is almost complete and it doesn’t have this issue. Look out for v2. |
Wow. You have been busy. Looking forward to it. |
Yeah, I'm using dev. If there was a command to be able to run whatever is the default for a directory, without having to use dev all the time, that would be great for us. I only use dev because I can automate the versions. But if I could cd into the directory and run Anyway, I'm getting off topic. We'll hold out for v2. In case my view comes off as negative, overall I really like pkgx. It makes getting team members started so much easier. That's really the key use case for us, run one command, have all the dependencies and so on you need to get started, and at the correct versions. 🧡 |
With pkgx v2 and the separate The pkgx v2 should be soonish. Not much left on my todo. |
I've enabled shell integration. When I mistype a command, and press enter, it looks like pkgx is doing some kind of http request to tell me
^^ type `x` to run that
, because it takes a heck of a long time. At least a second or two. Certainly long enough to slow me down such that I'm caught waiting for it to finish and end up hitting ctrl-c to stop it.Is there an option to turn that off? Personally, I don't need the "hey this can be run from pkgx" or not on a given command. I would much prefer the speedup over the notice. If this option doesn't exist yet, could this issue become a feature request?
PS> pkgx is really great, thanks to all the folks who make it happen.
The text was updated successfully, but these errors were encountered: