Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: mardiyah on 31 August 2023, 09:57:21

Title: Code to source bash_completion cannot work in user profile
Post by: mardiyah on 31 August 2023, 09:57:21
How come code to source bash_completion cannot work as it  is put inside the
file /etc/profile correctly initialzed/ run

It'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 
Title: Re: Code to source bash_completion cannot work in user profile
Post by: ####### on 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.