[SOLVED] pacman's tab-completion is laggy 23 December 2020, 16:23:45 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. Last Edit: 24 December 2020, 15:03:06 by nous
Re: pacman's tab-completion is laggy Reply #1 – 23 December 2020, 16:52:33 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 – 23 December 2020, 17:32:46 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 – 23 December 2020, 18:00:00 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 – 23 December 2020, 19:03:55 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 – 23 December 2020, 19:13:57 You should be able to mark the thread as solved.