Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] pacman's tab-completion is laggy (Read 871 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] pacman's tab-completion is laggy

bash completion is fine both for regular and sudo commands (bash-completion is installed). However, for some reason, pacman's tab-completion is not working properly; it takes 2 or 3 seconds to show options after pressing tab. I have no idea why this happens. I don't know where it query for completion that it takes that much time to finish its job. I just installed artix, and this was the case from the beginning.

Re: pacman's tab-completion is laggy

Reply #1
If you're trying to autocomplete package names, I believe that is normal because it has to fetch names over the network.

Re: pacman's tab-completion is laggy

Reply #2
I thought this is only my problem.I had used debian before I switched to artix. I think in debian there is a list of all softwares in repositories, saved somewhere in the system; it will update when one do  apt update. I'm a bit new to pacman and have to review its commands soon but isn't there such mechanism in pacman, caching list of all softwares somewhere in system?

Re: pacman's tab-completion is laggy

Reply #3
I mispoke. It's probably slowish because it has to search the database (/var/lib/pacman). Most autocompletion scripts don't have to do anything that complicated.

Re: pacman's tab-completion is laggy

Reply #4
got it. thank you for your answers!
Apparently this wasn't a problem at first place (now I don't care myself; it's ok i guess). So should I make it solved? how can I do that? by clicking on "solve topic"? btw is there any guide/help for forum? (I'm new to this forum. actually this is my first question.)

 

Re: pacman's tab-completion is laggy

Reply #5
You should be able to mark the thread as solved.