Score:1

Terminal autocomplete doesn't work after some updates

br flag

I have been using Ubuntu for quite some time now. At first everything worked good. After some update that was released lately (probably less than 2 months), terminal does not autocomplete commands any more.

When I try to type something and try to autocomplete it with tab... it just does nothing.

I tried to look at some solutions on this site including this

Terminal autocomplete doesn't work properly

But that did not work. I tried to reinstall Ubuntu, both 20.04.2.0 and 21.04, but the problem persists.

Before when I used the autocomplete function by pressing the tab key, I could hear a beep from the PC, but I do not hear the beep anymore.

Any help please??

vanadium avatar
cn flag
You may try to overwrite your bash configuration files with the default ones: `cp /etc/skel/.* ~`. Exit and restart terminal to see changes. The package `bash-completion` should be installed by default.
Alduxo avatar
br flag
Hi @vanadium Can you please write the full command how can it be done? I get the following result when i try to execute the command above cp /etc/skel/.* ~ cp: -r not specified; omitting directory '/etc/skel/.'
vanadium avatar
cn flag
Don't worry, that is because of the `.*`. That also selects `.`, the current directory, besides the hidden files you want to copy, hence the warning. The files are copied, though. If that does not help, perhaps temporarily create a new account to see if the issue persists there. If no, then it is confirmed that this is a problem with your current user configuration.
Alduxo avatar
br flag
Sorry none of the above solutions worked... Any other suggestion?
vanadium avatar
cn flag
So it does not work on another, new account, and even not after reinstalling???
Alduxo avatar
br flag
Yes that is right. It does not work neither with new account, nor with new installation.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.