You are not logged in.

#1 2021-08-25 08:08:05

SuperBoby
Member
Registered: 2020-03-25
Posts: 14

Tab completion not working only on some programs

Hi everyone,

I'm having a weird issue with tab completion. I'm on a fresh install in a Virtualbox VM, and tab completion doesn't work for some commands. I have a done a few Arch installs before and as far as I remember I only had to install the bash-completion package and that was it. But here I get completion for a lot of commands but not the important ones like pacman or systemctl. I have tried to remove bash-completion, purging package cache, rebooting, reinstalling then logout/login, but it stays the same.

How can I troubleshoot this ?

Thanks.

Offline

#2 2021-09-26 04:50:01

zenith71
Member
Registered: 2021-09-26
Posts: 2

Re: Tab completion not working only on some programs

Try adding this to your .bashrc file

[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
    . /usr/share/bash-completion/bash_completion

Offline

#3 2021-09-26 05:24:36

zenith71
Member
Registered: 2021-09-26
Posts: 2

Re: Tab completion not working only on some programs

zenith71 wrote:

Try adding this to your .bashrc file

[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
    . /usr/share/bash-completion/bash_completion

Offline

Board footer

Powered by FluxBB