Code to source bash_completion cannot work in user profile 31 August 2023, 09:57:21 How come code to source bash_completion cannot work as it is put inside thefile /etc/profile correctly initialzed/ runIt's needed there and then, if sourcing it being inside the ~/.bashrc file, it's too later and inefficient for a user who always need to or often re-initialize it.Please show the best way to set up with such demanded Last Edit: 01 September 2023, 20:20:27 by mardiyah
Re: Code to source bash_completion cannot work in user profile Reply #1 – 31 August 2023, 14:45:09 Have you got the "bash-completion" package installed? That's if you are using bash as your shell, if you were using zsh for example you might want zsh-completions. Completions don't work very well without that package, it's separate on Arch based distros unlike in Debian ones where I think it gets installed with Bash by default.